Merge pull request #367 from jpbruyere/develop

[SDL2] Don't test Stereo Mode when setting STENCIL_SIZE
This commit is contained in:
Harry 2016-07-16 12:11:37 +02:00 committed by GitHub
commit 6f12ddd31c

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)