1
0
Fork 0
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:
fgenesis 2014-04-23 02:31:37 +02:00
parent 71c87e1302
commit 46b070eb00

View file

@ -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;