You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This appears to be related to SDL. By default, Olive's main window is a SDL hardware renderer with vsync enabled. It appears that minimizing it disables the vsync, causing the frame rate to uncap, and Olive to update infinitely, only capped to the limit of the CPU. Possible solutions are: disable vsync and run on an internal timer at all times for updates, research SDL documentation for built-in solutions to this, or include a listener that disables updates when the window is in a minimized state.
The text was updated successfully, but these errors were encountered:
This appears to be related to SDL. By default, Olive's main window is a SDL hardware renderer with vsync enabled. It appears that minimizing it disables the vsync, causing the frame rate to uncap, and Olive to update infinitely, only capped to the limit of the CPU. Possible solutions are: disable vsync and run on an internal timer at all times for updates, research SDL documentation for built-in solutions to this, or include a listener that disables updates when the window is in a minimized state.
The text was updated successfully, but these errors were encountered: