fix window origin in pseudofullscreen

This commit is contained in:
Bob
2010-07-08 15:20:55 +12:00
parent 6a840dff4c
commit 1eedae2c7b

View File

@@ -68,6 +68,7 @@ namespace OpenRA.GlRenderer
case WindowMode.PseudoFullscreen:
// pseudo-fullscreen only reliably works on windows; fall back to fullscreen for everyone else
windowFlags |= ( Environment.OSVersion.Platform == PlatformID.Win32NT ) ? Sdl.SDL_NOFRAME : Sdl.SDL_FULLSCREEN;
Environment.SetEnvironmentVariable( "SDL_VIDEO_WINDOW_POS", "0,0" );
break;
default:
break;