Mesa (radeon-rewrite): radeon/common: use glCtx not ctx

Dave Airlie airlied at kemper.freedesktop.org
Thu Apr 2 04:51:18 UTC 2009


Module: Mesa
Branch: radeon-rewrite
Commit: 41702160090a4c1325afc07c56682f3e1c4fcaf0
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=41702160090a4c1325afc07c56682f3e1c4fcaf0

Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Apr  2 14:47:51 2009 +1000

radeon/common: use glCtx not ctx

---

 .../drivers/dri/radeon/radeon_common_context.c     |    2 +-
 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 4d61b00..ef67c86 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);




More information about the mesa-commit mailing list