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:
parent
83dbb7e310
commit
fc7fa440da
2 changed files with 2 additions and 4 deletions
|
@ -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('.');
|
||||
|
||||
|
|
|
@ -73,9 +73,7 @@ public:
|
|||
#ifdef BBGE_BUILD_DIRECTX
|
||||
LPDIRECT3DTEXTURE9 d3dTexture;
|
||||
#endif
|
||||
//void setImageData(imageData);
|
||||
// HACK:
|
||||
unsigned char *imageData;
|
||||
|
||||
void reload();
|
||||
|
||||
static TexErr textureError;
|
||||
|
|
Loading…
Reference in a new issue