Temporary: Hack out the pseudo-fullscreen code until we fix it properly

This commit is contained in:
pchote
2010-02-25 20:52:48 +13:00
committed by alzeih
parent ab9ab13bad
commit ede54752eb

View File

@@ -58,8 +58,7 @@ namespace OpenRa.GlRenderer
Sdl.SDL_GL_SetAttribute(Sdl.SDL_GL_GREEN_SIZE, 8);
Sdl.SDL_GL_SetAttribute(Sdl.SDL_GL_BLUE_SIZE, 8);
Sdl.SDL_GL_SetAttribute(Sdl.SDL_GL_ALPHA_SIZE, 8);
if (Environment.OSVersion.Platform == PlatformID.Win32NT)
{
// pseudo-fullscreen, for sane debugging.
@@ -70,7 +69,7 @@ namespace OpenRa.GlRenderer
{
// OSX doesn't like this, due to quirks of their WM.
surf = Sdl.SDL_SetVideoMode(width, height, 0, Sdl.SDL_OPENGL | (windowed ? 0 : Sdl.SDL_FULLSCREEN));
}
}
Sdl.SDL_WM_SetCaption("OpenRA", "OpenRA");
Sdl.SDL_ShowCursor(0);