summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/radeon
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-04-02 14:47:51 +1000
committerDave Airlie <airlied@redhat.com>2009-04-02 14:47:51 +1000
commit41702160090a4c1325afc07c56682f3e1c4fcaf0 (patch)
treeea380fc261b5e99e117113bafea6dc0439c46091 /src/mesa/drivers/dri/radeon
parente00ef43d796f0ae0247b1072bf0aa8cdd8e3034d (diff)
radeon/common: use glCtx not ctx
Diffstat (limited to 'src/mesa/drivers/dri/radeon')
-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 4d61b00345..ef67c86f0b 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);