projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f2936c
)
r300g: fix macro substitution problem
author
Dave Airlie
<airlied@redhat.com>
Mon, 26 Jul 2010 01:56:12 +0000
(11:56 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 26 Jul 2010 02:02:14 +0000
(12:02 +1000)
isn't a problem yet, but have issues in hiz branch.
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r300/r300_cs.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_cs.h
b/src/gallium/drivers/r300/r300_cs.h
index 3beb625d4309bc077a99d6b4d6bdcd8dff1319ca..c194d6a1b08c3ebff2c61b5e8d78efe58f2f7c8d 100644
(file)
--- a/
src/gallium/drivers/r300/r300_cs.h
+++ b/
src/gallium/drivers/r300/r300_cs.h
@@
-136,8
+136,8
@@
#define WRITE_CS_TABLE(values, count) do { \
CS_DEBUG(assert(cs_count == 0);) \
- memcpy(cs_copy->ptr + cs_copy->cdw,
values, count
* 4); \
- cs_copy->cdw +=
count
; \
+ memcpy(cs_copy->ptr + cs_copy->cdw,
(values), (count)
* 4); \
+ cs_copy->cdw +=
(count)
; \
} while (0)
#endif /* R300_CS_H */