allow feedback on window size; ask glfw how big a window we *actually* got.

This commit is contained in:
Chris Forbes
2010-02-18 08:18:46 +13:00
parent ecb92c45b6
commit a6d36fcb9a
4 changed files with 14 additions and 2 deletions

View File

@@ -370,6 +370,7 @@ namespace OpenRa
bool windowed = !Game.Settings.Fullscreen;
var resolution = GetResolution(settings);
renderer = new Renderer(resolution, windowed);
resolution = renderer.Resolution;
var controller = new Controller(() => (Modifiers)(int)0/*ModifierKeys*/); /* a bit of insane input routing */