Fixed infinite loop when window resize event has been received to size
different from what's in settings. git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@680 0420edf4-82e4-42fc-9478-35b55e6d67a3master
parent
6d7a85113d
commit
a24564f9bc
8
NEWS
8
NEWS
|
@ -2,6 +2,14 @@
|
|||
NEWS for Extreme Tux Racer
|
||||
===============================================================================
|
||||
|
||||
Version 0.7.4 ??th of October, 2016
|
||||
-------------------------------------------------------------------------------
|
||||
Bugfix release
|
||||
|
||||
- Fixed infinite loop when window resize event has been received to size
|
||||
different from what's in settings
|
||||
|
||||
|
||||
Version 0.7.3 22th of July, 2016
|
||||
-------------------------------------------------------------------------------
|
||||
Bugfix release
|
||||
|
|
|
@ -100,7 +100,7 @@ void State::Manager::PollEvent() {
|
|||
if (Winsys.resolution.width != event.size.width || Winsys.resolution.height != event.size.height) {
|
||||
Winsys.resolution.width = event.size.width;
|
||||
Winsys.resolution.height = event.size.height;
|
||||
Winsys.SetupVideoMode(param.res_type);
|
||||
Winsys.SetupVideoMode(event.size.width, event.size.height);
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue