From dea861abd8678ff94feeb539dfa351b539bd79f2 Mon Sep 17 00:00:00 2001 From: Ricardo Vieira Date: Sun, 29 Jun 2014 19:19:34 +0100 Subject: [PATCH] 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. --- src/egl_context.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/egl_context.c b/src/egl_context.c index e9fd0242..7f61e250 100644 --- a/src/egl_context.c +++ b/src/egl_context.c @@ -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++;