We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86c29d8 commit 0b03b39Copy full SHA for 0b03b39
flixel/system/frontEnds/BitmapFrontEnd.hx
@@ -347,8 +347,8 @@ class BitmapFrontEnd
347
@:allow(flixel.FlxG)
348
function get_maxTextureSize():Int
349
{
350
- if (_maxTextureSize < 0 && FlxG.stage.window.context.attributes.hardware)
351
- _maxTextureSize = cast GL.getParameter(GL.MAX_TEXTURE_SIZE);
+ if (_maxTextureSize < 0)
+ _maxTextureSize = FlxG.renderTile ? cast GL.getParameter(GL.MAX_TEXTURE_SIZE) : 0;
352
353
return _maxTextureSize;
354
}
0 commit comments