[SDL2] Don't test Stereo Mode when setting STENCIL_SIZE

This commit is contained in:
jp 2016-03-11 06:48:22 +01:00
parent 1c4a18332a
commit ef2aed1e4e

View 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)