[SDL2] Don't test Stereo Mode when setting STENCIL_SIZE
authorjp <jp_bruyere@hotmail.com>
Fri, 11 Mar 2016 05:48:22 +0000 (06:48 +0100)
committerjp <jp_bruyere@hotmail.com>
Fri, 11 Mar 2016 05:48:22 +0000 (06:48 +0100)
Source/OpenTK/Platform/SDL2/Sdl2GraphicsContext.cs

index eb6f8ab..4a78ae4 100644 (file)
@@ -230,7 +230,7 @@ namespace OpenTK.Platform.SDL2
 
             if (mode.Stencil > 0)
             {
-                SDL.GL.SetAttribute(ContextAttribute.STENCIL_SIZE, mode.Stereo ? 1 : 0);
+                SDL.GL.SetAttribute(ContextAttribute.STENCIL_SIZE, 1);
             }
 
             if (mode.Stereo)