summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaciej Cencora <[email protected]>2009-11-09 23:11:29 +0100
committerMaciej Cencora <[email protected]>2009-11-14 14:42:19 +0100
commit49876ab6a7f2b06177d7ac9651bd7a07956cbb25 (patch)
tree3757db9878db2175617ba79466dd04107797bce2
parent0aad2aee66392989777ee74078efda197f292ee7 (diff)
radeon: remove unnecessary call to radeonEmitState
fixes bo space accounting errors
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_common.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_common.c b/src/mesa/drivers/dri/radeon/radeon_common.c
index 097ab7cf613..420dce4ac9f 100644
--- a/src/mesa/drivers/dri/radeon/radeon_common.c
+++ b/src/mesa/drivers/dri/radeon/radeon_common.c
@@ -1123,8 +1123,6 @@ void radeonFlush(GLcontext *ctx)
if (radeon->dma.flush)
radeon->dma.flush( ctx );
- radeonEmitState(radeon);
-
if (radeon->cmdbuf.cs->cdw)
rcommonFlushCmdBuf(radeon, __FUNCTION__);