r300: fix wrong assertion

This commit is contained in:
Maciej Cencora 2009-11-08 21:44:24 +01:00
parent bd58253f67
commit 0a0d410bdb
1 changed files with 1 additions and 1 deletions

View File

@ -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: