Changeset - r14065:9eef7d64c20a
[Not reviewed]
master
0 1 0
rubidium - 14 years ago 2009-12-23 22:41:47
rubidium@openttd.org
(svn r18620) -Fix: possible deadlock with SDL and changing the resolution in-game
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/window.cpp
Show inline comments
 
@@ -2033,7 +2033,6 @@ static void HandleKeyScrolling()
 

	
 
static void MouseLoop(MouseClick click, int mousewheel)
 
{
 
	DecreaseWindowCounters();
 
	HandlePlacePresize();
 
	UpdateTileSelection();
 

	
 
@@ -2238,6 +2237,8 @@ void InputLoop()
 
		free(w);
 
	}
 

	
 
	DecreaseWindowCounters();
 

	
 
	if (_input_events_this_tick != 0) {
 
		/* The input loop is called only once per GameLoop() - so we can clear the counter here */
 
		_input_events_this_tick = 0;
0 comments (0 inline, 0 general)