Additional fix for "Failed to activate window context" log messages
This commit is contained in:
@@ -322,6 +322,7 @@ static void handleUpdateWhileScrolling(volatile bool& doneScrolling, int refresh
|
||||
sf::sleep(sf::milliseconds(10));
|
||||
redraw_screen(refresh);
|
||||
}
|
||||
mainPtr.setActive(false);
|
||||
}
|
||||
|
||||
// TODO: Pass the event object around instead of keeping a global one
|
||||
|
@@ -556,6 +556,7 @@ static void handleUpdateWhileScrolling(volatile bool& doneScrolling) {
|
||||
if(overall_mode < MODE_MAIN_SCREEN || overall_mode == MODE_EDIT_TYPES)
|
||||
set_up_terrain_buttons(false);
|
||||
}
|
||||
mainPtr.setActive(false);
|
||||
}
|
||||
|
||||
void Mouse_Pressed() {
|
||||
|
Reference in New Issue
Block a user