1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-12-12 08:25:13 +00:00
This commit is contained in:
shr 2023-09-15 23:53:39 +09:00 committed by Cameron Taylor
parent b88fbeb206
commit 56cecf98a0

View file

@ -993,7 +993,7 @@ class PlayState extends MusicBeatSubState
bufferCameraFrontEnd.unlock();
// Update the buffer texture using `flashSprite`.
// This is IMMEDIATELY done while the main cameras are not rendered yet,
// so any shaders in the main part that refers the texture can see the updated texture!
// so any shaders in the main part that refer the texture can see the updated texture!
maskTexture.fillRect(new Rectangle(0, 0, FlxG.width, FlxG.height), 0);
maskTexture.draw(camMask.flashSprite, new openfl.geom.Matrix(1, 0, 0, 1, camMask.flashSprite.x, camMask.flashSprite.y));
}