projects
/
platform
/
core
/
csapi
/
opentk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c4a183
)
[SDL2] Don't test Stereo Mode when setting STENCIL_SIZE
author
jp
<jp_bruyere@hotmail.com>
Fri, 11 Mar 2016 05:48:22 +0000
(06:48 +0100)
committer
jp
<jp_bruyere@hotmail.com>
Fri, 11 Mar 2016 05:48:22 +0000
(06:48 +0100)
Source/OpenTK/Platform/SDL2/Sdl2GraphicsContext.cs
patch
|
blob
|
history
diff --git
a/Source/OpenTK/Platform/SDL2/Sdl2GraphicsContext.cs
b/Source/OpenTK/Platform/SDL2/Sdl2GraphicsContext.cs
index eb6f8ab72e06a74565862fdcb5528773e8c26e76..4a78ae4fa386a7054cde008f3ba20906142abbb5 100644
(file)
--- a/
Source/OpenTK/Platform/SDL2/Sdl2GraphicsContext.cs
+++ b/
Source/OpenTK/Platform/SDL2/Sdl2GraphicsContext.cs
@@
-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)