Force texture to be uploaded to the GPU

Fixes an issue where multi-sparrow characters cause a stutter when the alternative sprites are displayed
This commit is contained in:
Hyper_
2025-09-06 22:15:28 -05:00
committed by Abnormal
parent b9d68957e0
commit aa5956a30b
+1
View File
@@ -177,6 +177,7 @@ class FunkinMemory
var sprite = new flixel.FlxSprite();
sprite.loadGraphic(graphic);
sprite.draw(); // Draw sprite and load it into game's memory.
graphic.bitmap?.getTexture(FlxG.stage.context3D); // Just in case that didn't work...
sprite.destroy();
}