projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd58253
)
r300: fix wrong assertion
author
Maciej Cencora
<m.cencora@gmail.com>
Sun, 8 Nov 2009 20:44:24 +0000
(21:44 +0100)
committer
Maciej Cencora
<m.cencora@gmail.com>
Fri, 11 Dec 2009 23:52:51 +0000
(
00:52
+0100)
src/mesa/drivers/dri/r300/r300_cmdbuf.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_cmdbuf.c
b/src/mesa/drivers/dri/r300/r300_cmdbuf.c
index 4b0005e155ff2276b68981eeaa1b836d012fd794..e1c33bbb2cfba446c8186f3b5f380d4904840d23 100644
(file)
--- a/
src/mesa/drivers/dri/r300/r300_cmdbuf.c
+++ b/
src/mesa/drivers/dri/r300/r300_cmdbuf.c
@@
-332,7
+332,7
@@
void r300_emit_cb_setup(struct r300_context *r300,
uint32_t cbpitch = pitch / cpp;
uint32_t dw = 6;
- assert(offset %
256
== 0);
+ assert(offset %
32
== 0);
switch (format) {
case MESA_FORMAT_RGB565: