diff options
author | Pauli Nieminen <[email protected]> | 2009-08-21 20:44:54 +0300 |
---|---|---|
committer | Pauli Nieminen <[email protected]> | 2009-08-21 20:47:35 +0300 |
commit | b7ec2ebe33608f9107ff7cae6b974edc8097cecd (patch) | |
tree | 1504d693eeb3a0e78830c5645cc107e57374223f /src/mesa/drivers/dri/r200/r200_swtcl.c | |
parent | 0bf4308580a88ac672f84472cb76e0236d7f8902 (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.c | 2 |
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__); |