OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
529e0a9
)
Remove an unnecessary calculation of the dest pointer.
author
Eric Anholt
<anholt@FreeBSD.org>
Fri, 24 Sep 2004 01:33:15 +0000
(
01:33
+0000)
committer
Eric Anholt
<anholt@FreeBSD.org>
Fri, 24 Sep 2004 01:33:15 +0000
(
01:33
+0000)
src/mesa/drivers/dri/r200/r200_cmdbuf.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r200/r200_cmdbuf.c
b/src/mesa/drivers/dri/r200/r200_cmdbuf.c
index
fb42849
..
128d9b8
100644
(file)
--- a/
src/mesa/drivers/dri/r200/r200_cmdbuf.c
+++ b/
src/mesa/drivers/dri/r200/r200_cmdbuf.c
@@
-124,10
+124,9
@@
void r200EmitState( r200ContextPtr rmesa )
* for enough space for the case of emitting all state, and inline the
* r200AllocCmdBuf code here without all the checks.
*/
- dest = rmesa->store.cmd_buf + rmesa->store.cmd_used;
r200EnsureCmdBufSpace( rmesa, rmesa->hw.max_state_size );
- /* we need to
re
calculate dest after EnsureCmdBufSpace
+ /* we need to calculate dest after EnsureCmdBufSpace
as we may flush the buffer - airlied */
dest = rmesa->store.cmd_buf + rmesa->store.cmd_used;
if (R200_DEBUG & DEBUG_STATE) {