From f816a9f5226c51c2fb403a8006c398414cfa2518 Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Tue, 26 Feb 2013 15:47:44 +0000 Subject: glx: Fix glXCreateWindow() when GLX_DIRECT_RENDERING is undefined glXCreateWindow() and glXCreatePbuffer() always fail when built without GLX_DIRECT_RENDERING defined since commit 48331047. Reviewed-by: Adam Jackson Signed-off-by: Jon TURNEY --- src/glx/glx_pbuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/glx/glx_pbuffer.c') diff --git a/src/glx/glx_pbuffer.c b/src/glx/glx_pbuffer.c index e4b2c86a08d..f11305a41df 100644 --- a/src/glx/glx_pbuffer.c +++ b/src/glx/glx_pbuffer.c @@ -241,7 +241,7 @@ CreateDRIDrawable(Display *dpy, const struct glx_config * fbconfig, XID drawable, XID glxdrawable, const int *attrib_list, size_t num_attribs) { - return GL_FALSE; + return GL_TRUE; } static void -- cgit v1.2.3