diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2010-07-19 14:57:59 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2010-07-19 22:45:50 -0400 |
commit | f972115d33e391499e049b83a1559959f2ca9f72 (patch) | |
tree | feb78c590d5a92db5d0b2b00a9c52f2d414eb9c9 /src/glx/glx_pbuffer.c | |
parent | a296d96de45d38a6ed0b3c817334d443facc169b (diff) | |
download | external_mesa3d-f972115d33e391499e049b83a1559959f2ca9f72.zip external_mesa3d-f972115d33e391499e049b83a1559959f2ca9f72.tar.gz external_mesa3d-f972115d33e391499e049b83a1559959f2ca9f72.tar.bz2 |
glx: Add screen privates for dri drivers and moved some fields there
GLXscreenConfigs is badly named and a dumping ground for a lot of stuff.
This patch creates private screen structs for the dri drivers and moves
some of their fields over there.
Diffstat (limited to 'src/glx/glx_pbuffer.c')
-rw-r--r-- | src/glx/glx_pbuffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glx/glx_pbuffer.c b/src/glx/glx_pbuffer.c index f6f931d..bbdba34 100644 --- a/src/glx/glx_pbuffer.c +++ b/src/glx/glx_pbuffer.c @@ -191,7 +191,7 @@ CreateDRIDrawable(Display *dpy, const __GLcontextModes *fbconfig, __GLXDRIdrawable *pdraw; __GLXscreenConfigs *psc; - psc = &priv->screenConfigs[fbconfig->screen]; + psc = priv->screenConfigs[fbconfig->screen]; if (psc->driScreen == NULL) return; @@ -217,7 +217,7 @@ DestroyDRIDrawable(Display *dpy, GLXDrawable drawable, int destroy_xdrawable) int screen; __GLXdisplayPrivate *const priv = __glXInitialize(dpy); __GLXDRIdrawable *pdraw = GetGLXDRIDrawable(dpy, drawable, &screen); - __GLXscreenConfigs *psc = &priv->screenConfigs[screen]; + __GLXscreenConfigs *psc = priv->screenConfigs[screen]; if (pdraw != NULL) { if (destroy_xdrawable) |