summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2010-07-26 15:17:00 -0400
committerKristian Høgsberg <krh@bitplanet.net>2010-07-26 15:18:56 -0400
commitbc34aa6128b9d509a25232d70dc826f1921fd221 (patch)
tree9c3c7a8bbdc802e4e08483a22c4b3cd49663a56d /src
parent941b893032c9b27ae3b02e1faf9269a464e2b63f (diff)
glx: Drop duplicate psc field in dri context struct
Same problem as fixed for drisw in 4d58b5b482d06ab8d4c4b2db33d0b48b7c82d064.
Diffstat (limited to 'src')
-rw-r--r--src/glx/dri_glx.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/glx/dri_glx.c b/src/glx/dri_glx.c
index eaf8e3b7f2..fd14285a48 100644
--- a/src/glx/dri_glx.c
+++ b/src/glx/dri_glx.c
@@ -82,7 +82,6 @@ struct dri_context
__GLXDRIcontext dri_vtable;
__DRIcontext *driContext;
XID hwContextID;
- __GLXscreenConfigs *psc;
};
struct dri_drawable
@@ -524,7 +523,7 @@ driBindContext(__GLXcontext *context,
__GLXDRIdrawable *draw, __GLXDRIdrawable *read)
{
struct dri_context *pcp = (struct dri_context *) context;
- struct dri_screen *psc = (struct dri_screen *) pcp->psc;
+ struct dri_screen *psc = (struct dri_screen *) pcp->base.psc;
struct dri_drawable *pdr = (struct dri_drawable *) draw;
struct dri_drawable *prd = (struct dri_drawable *) read;
@@ -536,7 +535,7 @@ static void
driUnbindContext(__GLXcontext * context)
{
struct dri_context *pcp = (struct dri_context *) context;
- struct dri_screen *psc = (struct dri_screen *) pcp->psc;
+ struct dri_screen *psc = (struct dri_screen *) pcp->base.psc;
(*psc->core->unbindContext) (pcp->driContext);
}