Bug#740292: Patch
m2harvey at uwaterloo.ca
m2harvey at uwaterloo.ca
Mon Mar 3 16:55:56 UTC 2014
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;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 100percentbug.patch
Type: text/x-patch
Size: 358 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20140303/3ef8a5d7/attachment.bin>
More information about the Pkg-games-devel
mailing list