Add support for the framerate limiter

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

View File

@@ -1 +1 @@
20210808
20210808b

View File

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