Enabled SAMPLE_BUFFERS EGL attribute

This attribute is required for multisampling support.
This commit is contained in:
Stefanos A. 2013-11-11 11:42:30 +01:00
parent dc093f8fa9
commit 0d0f578788

View file

@ -67,7 +67,7 @@ namespace OpenTK.Platform.Egl
Egl.DEPTH_SIZE, depth > 0 ? depth : 0,
Egl.STENCIL_SIZE, stencil > 0 ? stencil : 0,
//Egl.SAMPLE_BUFFERS, samples > 0 ? 1 : 0,
Egl.SAMPLE_BUFFERS, samples > 0 ? 1 : 0,
Egl.SAMPLES, samples > 0 ? samples : 0,
Egl.NONE,