summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon TURNEY <[email protected]>2013-02-26 15:47:44 +0000
committerAdam Jackson <[email protected]>2013-02-27 13:36:19 -0500
commitf816a9f5226c51c2fb403a8006c398414cfa2518 (patch)
treeaaaf3af9a611b2ad0d93f0b58433f70a64de5037
parent4deefd9ba6eb9ed2f2279b03468df46fe54bcdeb (diff)
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 <[email protected]> Signed-off-by: Jon TURNEY <[email protected]>
-rw-r--r--src/glx/glx_pbuffer.c2
1 files changed, 1 insertions, 1 deletions
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