This commit is contained in:
ttewrrr
2026-03-08 17:30:00 +01:00
parent f8ef076e70
commit 27532eb206
3025 changed files with 0 additions and 670604 deletions
-33
View File
@@ -1,33 +0,0 @@
#include "stdafx.h"
#include "MemTexture.h"
MemTexture::MemTexture(const wstring& _url, PBYTE pbData,DWORD dwBytes, MemTextureProcessor *processor)
{
// 4J - added
count = 1;
id = -1;
isLoaded = false;
ticksSinceLastUse = 0;
// 4J - TODO - actually implement
// load the texture, and process it
//loadedImage=Textures::getTexture()
// 4J - remember to add deletes in here for any created BufferedImages when implemented
loadedImage = new BufferedImage(pbData,dwBytes);
if(processor==NULL)
{
}
else
{
//loadedImage=processor.process(ImageIO.read(huc.getInputStream()));
}
}
MemTexture::~MemTexture()
{
delete loadedImage;
}