From 5ccb9174cec9b32b3f0a67a064a255ba05c083da Mon Sep 17 00:00:00 2001 From: lunarcleint <88809950+lunarcleint@users.noreply.github.com> Date: Sun, 4 Feb 2024 03:00:49 -0700 Subject: [PATCH] no vram sprites for linux or mac :( --- source/funkin/backend/system/Main.hx | 2 +- source/funkin/editors/charter/Charter.hx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/funkin/backend/system/Main.hx b/source/funkin/backend/system/Main.hx index 79ef9adc..202b5fac 100644 --- a/source/funkin/backend/system/Main.hx +++ b/source/funkin/backend/system/Main.hx @@ -39,7 +39,7 @@ class Main extends Sprite public static var instance:Main; public static var modToLoad:String = null; - public static var forceGPUOnlyBitmapsOff:Bool = false; + public static var forceGPUOnlyBitmapsOff:Bool = #if windows false #else true #end; public static var noTerminalColor:Bool = false; public static var scaleMode:FunkinRatioScaleMode; diff --git a/source/funkin/editors/charter/Charter.hx b/source/funkin/editors/charter/Charter.hx index f2bb2596..32d0a597 100644 --- a/source/funkin/editors/charter/Charter.hx +++ b/source/funkin/editors/charter/Charter.hx @@ -692,7 +692,7 @@ class Charter extends UIState { if (mouseOnGrid && mousePos.y > 0 && mousePos.y < (__endStep)*40) { var note = new CharterNote(); note.updatePos( - FlxMath.bound(FlxG.keys.pressed.SHIFT ? ((mousePos.y-20) / 40) : quantStepRounded(mousePos.y/40), 0, __endStep-1), + FlxMath.bound(FlxG.keys.pressed.SHIFT ? ((mousePos.y-20) / 40) : quantStep(mousePos.y/40), 0, __endStep-1), id % 4, 0, noteType, strumLines.members[Std.int(id/4)] ); notesGroup.add(note);