I found the issue!

The sdl path does the delay inline, but the GTK version wasn't doing any delay at all. Without it the program was making my computer really hot.

diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp
index ea00154..ab6c5e3 100644
--- a/src/gtk/window.cpp
+++ b/src/gtk/window.cpp
@@ -1583,6 +1584,7 @@ void Window::vComputeFrameskip(int _iRate)
         if (iDelay > 0)
         {
           m_uiThrottleDelay = iDelay;
+          SDL_Delay(iDelay);
         }
       }
       iWantedSpeed = m_iThrottle;




diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp
index ea00154..ab6c5e3 100644
--- a/src/gtk/window.cpp
+++ b/src/gtk/window.cpp
@@ -1583,6 +1584,7 @@ void Window::vComputeFrameskip(int _iRate)
         if (iDelay > 0)
         {
           m_uiThrottleDelay = iDelay;
+          SDL_Delay(iDelay);
         }
       }
       iWantedSpeed = m_iThrottle;

Reply via email to