mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-11 17:01:22 +00:00
Refactor texture loading code; should fix a crash that started appearing recently.
This commit is contained in:
parent
66cf20ffa9
commit
f0d580d873
22 changed files with 255 additions and 387 deletions
|
@ -798,6 +798,11 @@ void Quad::onSetTexture()
|
|||
width = this->texture->width;
|
||||
height = this->texture->height;
|
||||
}
|
||||
else
|
||||
{
|
||||
width = 64;
|
||||
height = 64;
|
||||
}
|
||||
}
|
||||
|
||||
PauseQuad::PauseQuad() : Quad(), pauseLevel(0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue