From: Maciej Cencora Date: Mon, 9 Nov 2009 22:11:29 +0000 (+0100) Subject: radeon: remove unnecessary call to radeonEmitState X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=49876ab6a7f2b06177d7ac9651bd7a07956cbb25;p=mesa.git radeon: remove unnecessary call to radeonEmitState fixes bo space accounting errors --- 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__);