[SDL2] Don't test Stereo Mode when setting STENCIL_SIZE
This commit is contained in:
parent
1c4a18332a
commit
ef2aed1e4e
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ namespace OpenTK.Platform.SDL2
|
||||||
|
|
||||||
if (mode.Stencil > 0)
|
if (mode.Stencil > 0)
|
||||||
{
|
{
|
||||||
SDL.GL.SetAttribute(ContextAttribute.STENCIL_SIZE, mode.Stereo ? 1 : 0);
|
SDL.GL.SetAttribute(ContextAttribute.STENCIL_SIZE, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mode.Stereo)
|
if (mode.Stereo)
|
||||||
|
|
Loading…
Reference in a new issue