mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2026-10-06 21:05:49 -04:00
Add support for the framerate limiter
This commit is contained in:
1 parent
7a53073fa1
commit
e874fe236f
3 files changed
+3
-2
No files matched your search
Binary file not shown.
@@ -1 +1 @@
|
||||
20210808
|
||||
20210808b
|
||||
@@ -1044,7 +1044,8 @@ public class Display {
|
||||
*/
|
||||
public static void sync(int fps) {
|
||||
if (vsyncEnabled)
|
||||
Sync.sync(fps);
|
||||
Sync.sync(60);
|
||||
else Sync.sync(fps);
|
||||
}
|
||||
|
||||
public static Drawable getDrawable() {
|
||||
|
||||
Reference in new issue
Block a user