mirror of
https://github.com/glfw/glfw.git
synced 2026-02-21 14:43:02 +01:00
Fixed all EGLConfigs listed as single-buffered.
The commit c980858 added a new flag to _GLFWfbconfig that was not being
set by EGLConfig enumeration. This patch assumes eglCreateWindowSurface
only creates double-buffered surfaces.
Fixes #315.
This commit is contained in:
committed by
Camilla Berglund
parent
51208601a4
commit
dea861abd8
@@ -167,6 +167,7 @@ static GLboolean chooseFBConfigs(const _GLFWctxconfig* ctxconfig,
|
||||
u->stencilBits = getConfigAttrib(n, EGL_STENCIL_SIZE);
|
||||
|
||||
u->samples = getConfigAttrib(n, EGL_SAMPLES);
|
||||
u->doublebuffer = GL_TRUE;
|
||||
|
||||
u->egl = n;
|
||||
usableCount++;
|
||||
|
||||
Reference in New Issue
Block a user