Skip to content

Commit 43d599a

Browse files
committed
never thought i'd have to acknowledge blit rendering
1 parent 38c9836 commit 43d599a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source/funkin/menus/ui/Alphabet.hx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,10 @@ class Alphabet extends FlxSprite {
345345
}
346346

347347
function drawLetter(camera) {
348+
// i'll have to improve this with blit rendering. not sure how.
349+
// i can't just store all the bitmaps in the component since it's also responsable for flips and colors.
350+
if (FlxG.renderBlit)
351+
updateFramePixels();
348352
_frame.prepareMatrix(_matrix, ANGLE_0, checkFlipX() != camera.flipX, checkFlipY() != camera.flipY);
349353

350354
_matrix.translate(_frame.frame.width * -0.5, _frame.frame.height * -0.5);

0 commit comments

Comments
 (0)