aboutsummaryrefslogtreecommitdiffstats
path: root/src/glx/glxext.c
diff options
context:
space:
mode:
authorJon TURNEY <[email protected]>2010-08-09 14:47:26 +0100
committerKristian Høgsberg <[email protected]>2010-09-07 12:33:11 -0400
commitae9487c29984addc96a6d617292370fbc3f8ff9a (patch)
tree3efedb7017659b4671055b8f26cdb8bdf380313a /src/glx/glxext.c
parent6561a64a69c0f5005d03ea297f9a309f48449731 (diff)
Some fixes for GLX_INDIRECT_RENDERING only build
This fixes some of the build issues with GLX_INDIRECT_RENDERING but !GLX_DIRECT_RENDERING due to recent changes. Signed-off-by: Jon TURNEY <[email protected]> Signed-off-by: Kristian Høgsberg <[email protected]>
Diffstat (limited to 'src/glx/glxext.c')
-rw-r--r--src/glx/glxext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/glxext.c b/src/glx/glxext.c
index 9e42d83c4d5..7ba4666187a 100644
--- a/src/glx/glxext.c
+++ b/src/glx/glxext.c
@@ -249,9 +249,9 @@ glx_display_free(struct glx_display *priv)
if (priv->serverGLXversion)
Xfree((char *) priv->serverGLXversion);
+#if defined(GLX_DIRECT_RENDERING) && !defined(GLX_USE_APPLEGL)
__glxHashDestroy(priv->drawHash);
-#if defined(GLX_DIRECT_RENDERING) && !defined(GLX_USE_APPLEGL)
/* Free the direct rendering per display data */
if (priv->driswDisplay)
(*priv->driswDisplay->destroyDisplay) (priv->driswDisplay);