aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2009-04-02 14:47:51 +1000
committerDave Airlie <[email protected]>2009-04-02 14:47:51 +1000
commit41702160090a4c1325afc07c56682f3e1c4fcaf0 (patch)
treeea380fc261b5e99e117113bafea6dc0439c46091
parente00ef43d796f0ae0247b1072bf0aa8cdd8e3034d (diff)
radeon/common: use glCtx not ctx
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_common_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_common_context.c b/src/mesa/drivers/dri/radeon/radeon_common_context.c
index 4d61b003454..ef67c86f0b8 100644
--- a/src/mesa/drivers/dri/radeon/radeon_common_context.c
+++ b/src/mesa/drivers/dri/radeon/radeon_common_context.c
@@ -223,7 +223,7 @@ void radeonDestroyContext(__DRIcontextPrivate *driContextPriv )
rcommonFlushCmdBuf( radeon, __FUNCTION__ );
}
- radeonReleaseArrays(ctx, ~0);
+ radeonReleaseArrays(radeon->glCtx, ~0);
if (radeon->vtbl.free_context)
radeon->vtbl.free_context(radeon->glCtx);