1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-12-25 22:25:46 +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; repeat = false;
repeating = false; repeating = false;
pngSetStandardOrientation(0); pngSetStandardOrientation(0);
imageData = 0;
ow = oh = -1; ow = oh = -1;
} }
@ -318,6 +317,7 @@ void Texture::load(std::string file)
file = core->adjustFilenameCase(file); file = core->adjustFilenameCase(file);
loadName = file; loadName = file;
repeating = false;
size_t pos = file.find_last_of('.'); size_t pos = file.find_last_of('.');

View file

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