1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-12-25 06:05:45 +00:00

Fix currents not displaying correctly after resolution change.

This commit is contained in:
fgenesis 2012-04-01 21:24:31 +02:00
parent 83dbb7e310
commit fc7fa440da
2 changed files with 2 additions and 4 deletions

View file

@ -69,7 +69,6 @@ Texture::Texture() : Resource()
repeat = false;
repeating = false;
pngSetStandardOrientation(0);
imageData = 0;
ow = oh = -1;
}
@ -318,6 +317,7 @@ void Texture::load(std::string file)
file = core->adjustFilenameCase(file);
loadName = file;
repeating = false;
size_t pos = file.find_last_of('.');

View file

@ -73,9 +73,7 @@ public:
#ifdef BBGE_BUILD_DIRECTX
LPDIRECT3DTEXTURE9 d3dTexture;
#endif
//void setImageData(imageData);
// HACK:
unsigned char *imageData;
void reload();
static TexErr textureError;