Anixias
Member
Hi, I bought a new 144hz monitor today and tested to see if my game could run at 144fps correctly. While it does run exactly as intended, I noticed a mildly annoying glitch.
In fullscreen, it runs at 144fps. If I toggle into windowed mode, it runs at 60fps. If drag the window, it will reset to 144fps (still windowed). Going back to fullscreen keeps it at 144fps.
So basically, my issue is that when going into windowed mode, the game locks at 60fps until I move the window, in which case it resets to the correct speed.
In the Main game settings, it is set to 144fps. I never change this using game_speed_set, so it is not due to my code. What is happening? How can I fix this?
I tried:
-display_reset on window resize
-setting game_speed to 144fps every step
-setting game_speed to 144fps on window resize
-disabling vsync
In fullscreen, it runs at 144fps. If I toggle into windowed mode, it runs at 60fps. If drag the window, it will reset to 144fps (still windowed). Going back to fullscreen keeps it at 144fps.
So basically, my issue is that when going into windowed mode, the game locks at 60fps until I move the window, in which case it resets to the correct speed.
In the Main game settings, it is set to 144fps. I never change this using game_speed_set, so it is not due to my code. What is happening? How can I fix this?
I tried:
-display_reset on window resize
-setting game_speed to 144fps every step
-setting game_speed to 144fps on window resize
-disabling vsync