r300: fix the build on big endian
authorAlex Deucher <alexdeucher@gmail.com>
Tue, 18 Aug 2009 15:38:54 +0000 (11:38 -0400)
committerAlex Deucher <alexdeucher@gmail.com>
Tue, 18 Aug 2009 15:40:18 +0000 (11:40 -0400)
src/mesa/drivers/dri/r300/r300_draw.c

index 239cfe112383e59aec44d79ab952d11a323b4b59..d34f33b328982803ace6425b5f02f2d15a860291 100644 (file)
@@ -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) {