mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-19 12:30:30 +01:00
r300: fix big endian build
This commit is contained in:
parent
3aafd22f6a
commit
c80bc3abcd
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue