summaryrefslogtreecommitdiffstats
path: root/src/glx/glxclient.h
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-07-19 21:15:50 -0400
committerKristian Høgsberg <[email protected]>2010-07-19 22:45:51 -0400
commite3e8196c025bd344a59b4671e473c395a6ea426b (patch)
tree3178db533025d91fa69563486c5034cf5f37e854 /src/glx/glxclient.h
parent037755122e9011c768e5caa4d4cb83aba783d3e9 (diff)
glx: Move drawHash to display private
The XIDs are display wide so the natural location of the hash is here. This way we don't have to lookup in each of the screen hashes.
Diffstat (limited to 'src/glx/glxclient.h')
-rw-r--r--src/glx/glxclient.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/glx/glxclient.h b/src/glx/glxclient.h
index 207908f7e25..adfa3ce1b6b 100644
--- a/src/glx/glxclient.h
+++ b/src/glx/glxclient.h
@@ -529,7 +529,6 @@ struct __GLXscreenConfigsRec
/**
* Per screen direct rendering interface functions and data.
*/
- __glxHashTable *drawHash;
Display *dpy;
int scr;
@@ -607,6 +606,8 @@ struct __GLXdisplayPrivateRec
__GLXscreenConfigs **screenConfigs;
#if defined(GLX_DIRECT_RENDERING) && !defined(GLX_USE_APPLEGL)
+ __glxHashTable *drawHash;
+
/**
* Per display direct rendering interface functions and data.
*/