summaryrefslogtreecommitdiff
path: root/src/glx
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2010-07-24 21:43:25 -0400
committerKristian Høgsberg <krh@bitplanet.net>2010-07-24 21:43:25 -0400
commit4d58b5b482d06ab8d4c4b2db33d0b48b7c82d064 (patch)
tree8a8ef8bda44e9cb4fb989369b782c186518ca351 /src/glx
parentaf6a2aede696ad3c45798d6c28aa04e8f5035e6e (diff)
glx: Drop duplicate psc field in drisw context struct
Causing a crash in drisw MakeCurrent.
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/drisw_glx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glx/drisw_glx.c b/src/glx/drisw_glx.c
index 11f88e9670..5f7185de4c 100644
--- a/src/glx/drisw_glx.c
+++ b/src/glx/drisw_glx.c
@@ -38,7 +38,7 @@ struct drisw_context
__GLXcontext base;
__GLXDRIcontext dri_vtable;
__DRIcontext *driContext;
- __GLXscreenConfigs *psc;
+
};
struct drisw_screen
@@ -263,7 +263,7 @@ driBindContext(__GLXcontext * context,
__GLXDRIdrawable * draw, __GLXDRIdrawable * read)
{
struct drisw_context *pcp = (struct drisw_context *) context;
- struct drisw_screen *psc = (struct drisw_screen *) pcp->psc;
+ struct drisw_screen *psc = (struct drisw_screen *) pcp->base.psc;
struct drisw_drawable *pdr = (struct drisw_drawable *) draw;
struct drisw_drawable *prd = (struct drisw_drawable *) read;
@@ -275,7 +275,7 @@ static void
driUnbindContext(__GLXcontext * context)
{
struct drisw_context *pcp = (struct drisw_context *) context;
- struct drisw_screen *psc = (struct drisw_screen *) pcp->psc;
+ struct drisw_screen *psc = (struct drisw_screen *) pcp->base.psc;
(*psc->core->unbindContext) (pcp->driContext);
}