diff options
author | Alex Deucher <[email protected]> | 2009-08-18 11:38:54 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2009-08-18 11:40:18 -0400 |
commit | c745c87b3ecd6d9b734c48b0afa3d60e1a44d638 (patch) | |
tree | 85cd3d72eab1e355e2f58452246890e4de4bf13f | |
parent | 1c1ee1176d889ff5ff0a41af9ad385c4532322a3 (diff) |
r300: fix the build on big endian
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_draw.c b/src/mesa/drivers/dri/r300/r300_draw.c index 239cfe11238..d34f33b3289 100644 --- a/src/mesa/drivers/dri/r300/r300_draw.c +++ b/src/mesa/drivers/dri/r300/r300_draw.c @@ -113,7 +113,7 @@ static void r300FixupIndexBuffer(GLcontext *ctx, const struct _mesa_index_buffer radeonAllocDmaRegion(&r300->radeon, &r300->ind_buf.bo, &r300->ind_buf.bo_offet, size, 4); - assert(r300->ind_buf.bo->ptr != NULL) + assert(r300->ind_buf.bo->ptr != NULL); out = (GLuint *)ADD_POINTERS(r300->ind_buf.bo->ptr, r300->ind_buf.bo_offset); for (i = 0; i + 1 < mesa_ind_buf->count; i += 2) { |