From aa5956a30bdc47d53ebebb4b61a7ebb3f04c7dc6 Mon Sep 17 00:00:00 2001 From: Hyper_ <40342021+NotHyper-474@users.noreply.github.com> Date: Sat, 6 Sep 2025 23:39:13 -0300 Subject: [PATCH] Force texture to be uploaded to the GPU Fixes an issue where multi-sparrow characters cause a stutter when the alternative sprites are displayed --- source/funkin/FunkinMemory.hx | 1 + 1 file changed, 1 insertion(+) diff --git a/source/funkin/FunkinMemory.hx b/source/funkin/FunkinMemory.hx index adfdf44e7..fb0554460 100644 --- a/source/funkin/FunkinMemory.hx +++ b/source/funkin/FunkinMemory.hx @@ -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(); }