From: Jon TURNEY Date: Tue, 26 Feb 2013 15:47:44 +0000 (+0000) Subject: glx: Fix glXCreateWindow() when GLX_DIRECT_RENDERING is undefined X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f816a9f5226c51c2fb403a8006c398414cfa2518;p=mesa.git 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 --- 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