aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon/radeon_common_context.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2009-08-12 14:49:07 -0400
committerAlex Deucher <[email protected]>2009-08-12 15:40:15 -0400
commit2f6675b8160c5fa2e6e9b5642c133fd2843a7508 (patch)
tree39b715f26c68bd2faae4b4e581bb1c16b7249dfa /src/mesa/drivers/dri/radeon/radeon_common_context.c
parentb6a4f5f1d3f0a79b4502d0b30d8b259e8189b70f (diff)
r600: clean up Create/DestroyContext
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_common_context.c')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_common_context.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_common_context.c b/src/mesa/drivers/dri/radeon/radeon_common_context.c
index 3a9468e88d2..f71dc1cb233 100644
--- a/src/mesa/drivers/dri/radeon/radeon_common_context.c
+++ b/src/mesa/drivers/dri/radeon/radeon_common_context.c
@@ -306,16 +306,7 @@ void radeonDestroyContext(__DRIcontextPrivate *driContextPriv )
}
assert(radeon);
- if (radeon)
- {
-
-#if RADEON_COMMON && defined(RADEON_COMMON_FOR_R600) /* +r6/r7 */
- if (IS_R600_CLASS(screen))
- {
- r600DestroyContext(driContextPriv);
- }
-#endif
-
+ if (radeon) {
if (radeon->dma.current) {
rcommonFlushCmdBuf( radeon, __FUNCTION__ );
}