From: Alex Deucher Date: Tue, 18 Aug 2009 15:38:54 +0000 (-0400) Subject: r300: fix the build on big endian X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c745c87b3ecd6d9b734c48b0afa3d60e1a44d638;p=mesa.git r300: fix the build on big endian --- 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) {