summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r200/r200_swtcl.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/r200/r200_swtcl.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/r200/r200_swtcl.c')
-rw-r--r--src/mesa/drivers/dri/r200/r200_swtcl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_swtcl.c b/src/mesa/drivers/dri/r200/r200_swtcl.c
index 8dd2e69d33d..56930c7863a 100644
--- a/src/mesa/drivers/dri/r200/r200_swtcl.c
+++ b/src/mesa/drivers/dri/r200/r200_swtcl.c
@@ -269,7 +269,7 @@ void r200_swtcl_flush(GLcontext *ctx, uint32_t current_offset)
{
r200ContextPtr rmesa = R200_CONTEXT(ctx);
rcommonEnsureCmdBufSpace(&rmesa->radeon,
- radeonCountEmitSize(&rmesa->radeon) + (12*sizeof(int)),
+ radeonCountStateEmitSize(&rmesa->radeon) + (12*sizeof(int)),
__FUNCTION__);