diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2013-02-26 15:47:44 +0000 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2013-02-27 13:36:19 -0500 |
commit | f816a9f5226c51c2fb403a8006c398414cfa2518 (patch) | |
tree | aaaf3af9a611b2ad0d93f0b58433f70a64de5037 /src/glx/glx_pbuffer.c | |
parent | 4deefd9ba6eb9ed2f2279b03468df46fe54bcdeb (diff) | |
download | external_mesa3d-f816a9f5226c51c2fb403a8006c398414cfa2518.zip external_mesa3d-f816a9f5226c51c2fb403a8006c398414cfa2518.tar.gz external_mesa3d-f816a9f5226c51c2fb403a8006c398414cfa2518.tar.bz2 |
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 <ajax@redhat.com>
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Diffstat (limited to 'src/glx/glx_pbuffer.c')
-rw-r--r-- | src/glx/glx_pbuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/glx_pbuffer.c b/src/glx/glx_pbuffer.c index e4b2c86..f11305a 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 |