Add support for the framerate limiter

This commit is contained in:
SerpentSpirale committed 2021-08-08 22:21:54 +02:00
1 parent 7a53073fa1
commit e874fe236f
3 files changed
+3 -2

No files matched your search

@@ -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() {