From c745c87b3ecd6d9b734c48b0afa3d60e1a44d638 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Tue, 18 Aug 2009 11:38:54 -0400 Subject: r300: fix the build on big endian --- src/mesa/drivers/dri/r300/r300_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/mesa/drivers/dri/r300/r300_draw.c b/src/mesa/drivers/dri/r300/r300_draw.c index 239cfe1123..d34f33b328 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) { -- cgit v1.2.3