diff options
author | Dave Airlie <[email protected]> | 2009-08-18 13:55:12 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2009-08-18 13:55:12 +1000 |
commit | c80bc3abcd3939e5e2d45aea4b01ff22bfec244b (patch) | |
tree | 674f0a35d0f3806bdf7491aac83dd1fc44dd5b4a /src | |
parent | 3aafd22f6aef5ffd63349c3d515b5ce681e828dc (diff) |
r300: fix big endian build
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_draw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_draw.c b/src/mesa/drivers/dri/r300/r300_draw.c index fb416a05c08..d524d602998 100644 --- a/src/mesa/drivers/dri/r300/r300_draw.c +++ b/src/mesa/drivers/dri/r300/r300_draw.c @@ -108,6 +108,7 @@ static void r300FixupIndexBuffer(GLcontext *ctx, const struct _mesa_index_buffer #if MESA_BIG_ENDIAN } else { /* if (mesa_ind_buf->type == GL_UNSIGNED_SHORT) */ + GLuint size; GLushort *in = (GLushort *)src_ptr; size = sizeof(GLushort) * ((mesa_ind_buf->count + 1) & ~1); |