summaryrefslogtreecommitdiffstats
path: root/src/glx/x11/glxext.c
diff options
context:
space:
mode:
authorJeremy Huddleston <[email protected]>2008-08-08 02:52:10 -0700
committerJeremy Huddleston <[email protected]>2008-08-08 02:52:10 -0700
commit919ec22ecf72aa163e1b97d8c7381002131ed32c (patch)
tree4ee6306e2e720986f164ccccb28f6f2842898bb3 /src/glx/x11/glxext.c
parentec770150edff9a5955f52e538adc4bac94c92cad (diff)
glx/x11: Added some #ifdef GLX_DIRECT_RENDERING protection
Diffstat (limited to 'src/glx/x11/glxext.c')
-rw-r--r--src/glx/x11/glxext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c
index d13d636699e..27985e7f40b 100644
--- a/src/glx/x11/glxext.c
+++ b/src/glx/x11/glxext.c
@@ -595,9 +595,9 @@ static Bool AllocAndFetchScreenConfigs(Display *dpy, __GLXdisplayPrivate *priv)
getVisualConfigs(dpy, priv, i);
getFBConfigs(dpy, priv, i);
+#ifdef GLX_DIRECT_RENDERING
psc->scr = i;
psc->dpy = dpy;
-#ifdef GLX_DIRECT_RENDERING
psc->drawHash = __glxHashCreate();
if (psc->drawHash == NULL)
continue;