diff options
-rw-r--r-- | src/mesa/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 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); |