Skip to content

Commit

Permalink
Set 60 fps
Browse files Browse the repository at this point in the history
  • Loading branch information
topminipie authored Feb 21, 2024
1 parent 6b4b49c commit ea2f5d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/io/twoyi/Render2Activity.java
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ private float getBestFps() {
WindowManager windowManager = getWindowManager();
Display defaultDisplay = windowManager.getDefaultDisplay();
Display.Mode[] supportedModes = defaultDisplay.getSupportedModes();
float fps = 45;
float fps = 60;
for (Display.Mode supportedMode : supportedModes) {
float refreshRate = supportedMode.getRefreshRate();
if (refreshRate > fps) {
Expand Down

0 comments on commit ea2f5d8

Please sign in to comment.