From: Dave Airlie Date: Thu, 2 Apr 2009 04:47:51 +0000 (+1000) Subject: radeon/common: use glCtx not ctx X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=41702160090a4c1325afc07c56682f3e1c4fcaf0;p=mesa.git radeon/common: use glCtx not ctx --- 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);