radeon/common: use glCtx not ctx

This commit is contained in:
Dave Airlie 2009-04-02 14:47:51 +10:00
parent e00ef43d79
commit 4170216009

View file

@ -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);