summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon/radeon_dma.c
diff options
context:
space:
mode:
authorPauli Nieminen <[email protected]>2009-08-21 20:44:54 +0300
committerPauli Nieminen <[email protected]>2009-08-21 20:47:35 +0300
commitb7ec2ebe33608f9107ff7cae6b974edc8097cecd (patch)
tree1504d693eeb3a0e78830c5645cc107e57374223f /src/mesa/drivers/dri/radeon/radeon_dma.c
parent0bf4308580a88ac672f84472cb76e0236d7f8902 (diff)
radeon: Improve state emit code.
Trying to make understanding code easier with small refactoring and renaming.
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_dma.c')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_dma.c b/src/mesa/drivers/dri/radeon/radeon_dma.c
index 79b2b77d30a..7e8f50e3df2 100644
--- a/src/mesa/drivers/dri/radeon/radeon_dma.c
+++ b/src/mesa/drivers/dri/radeon/radeon_dma.c
@@ -431,7 +431,7 @@ restart:
if (!rmesa->dma.flush) {
/* make sure we have enough space to use this in cmdbuf */
rcommonEnsureCmdBufSpace(rmesa,
- radeonCountEmitSize( rmesa ) + (20*sizeof(int)),
+ radeonCountStateEmitSize( rmesa ) + (20*sizeof(int)),
__FUNCTION__);
/* if cmdbuf flushed DMA restart */
if (is_empty_list(&rmesa->dma.reserved))