mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-12-25 22:25:46 +00:00
Not sure if this really fixes a crash, but worth a try. Thx Daxar for reporting.
This commit is contained in:
parent
71c87e1302
commit
46b070eb00
1 changed files with 1 additions and 1 deletions
|
@ -727,7 +727,7 @@ void Quad::flipVertical()
|
||||||
|
|
||||||
void Quad::refreshRepeatTextureToFill()
|
void Quad::refreshRepeatTextureToFill()
|
||||||
{
|
{
|
||||||
if (repeatingTextureToFill)
|
if (repeatingTextureToFill && texture)
|
||||||
{
|
{
|
||||||
upperLeftTextureCoordinates.x = texOff.x;
|
upperLeftTextureCoordinates.x = texOff.x;
|
||||||
upperLeftTextureCoordinates.y = texOff.y;
|
upperLeftTextureCoordinates.y = texOff.y;
|
||||||
|
|
Loading…
Reference in a new issue