mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-12-25 14:15:46 +00:00
Fix currents not displaying correctly after resolution change.
This commit is contained in:
parent
83dbb7e310
commit
fc7fa440da
2 changed files with 2 additions and 4 deletions
|
@ -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('.');
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue