radeon: remove unnecessary call to radeonEmitState
authorMaciej Cencora <m.cencora@gmail.com>
Mon, 9 Nov 2009 22:11:29 +0000 (23:11 +0100)
committerMaciej Cencora <m.cencora@gmail.com>
Sat, 14 Nov 2009 13:42:19 +0000 (14:42 +0100)
fixes bo space accounting errors

src/mesa/drivers/dri/radeon/radeon_common.c

index 097ab7cf6136f358d8d2ae02a5d13167f760c3d1..420dce4ac9fff52b8c3296e95b92af14f5fd007f 100644 (file)
@@ -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__);