diff --git a/OpenRA.Renderer.Cg/GraphicsDevice.cs b/OpenRA.Renderer.Cg/GraphicsDevice.cs index 7891190a6d..b2dd08ee71 100755 --- a/OpenRA.Renderer.Cg/GraphicsDevice.cs +++ b/OpenRA.Renderer.Cg/GraphicsDevice.cs @@ -65,8 +65,7 @@ namespace OpenRA.Renderer.Cg windowFlags |= Sdl.SDL_FULLSCREEN; break; 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; + windowFlags |= Sdl.SDL_NOFRAME; Environment.SetEnvironmentVariable( "SDL_VIDEO_WINDOW_POS", "0,0" ); break; default: diff --git a/OpenRA.Renderer.Gl/GraphicsDevice.cs b/OpenRA.Renderer.Gl/GraphicsDevice.cs index 788a76f832..47b00ee605 100755 --- a/OpenRA.Renderer.Gl/GraphicsDevice.cs +++ b/OpenRA.Renderer.Gl/GraphicsDevice.cs @@ -63,8 +63,7 @@ namespace OpenRA.Renderer.Glsl windowFlags |= Sdl.SDL_FULLSCREEN; break; 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; + windowFlags |= Sdl.SDL_NOFRAME; Environment.SetEnvironmentVariable( "SDL_VIDEO_WINDOW_POS", "0,0" ); break; default: