projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3aafd22
)
r300: fix big endian build
author
Dave Airlie
<airlied@redhat.com>
Tue, 18 Aug 2009 03:55:12 +0000
(13:55 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 18 Aug 2009 03:55:12 +0000
(13:55 +1000)
src/mesa/drivers/dri/r300/r300_draw.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_draw.c
b/src/mesa/drivers/dri/r300/r300_draw.c
index fb416a05c0872df85406d5d0ed903db110846455..d524d60299847b9e7746a40dd98f988114806974 100644
(file)
--- 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);