diff options
-rw-r--r-- | src/mesa/main/draw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/draw.c b/src/mesa/main/draw.c index fa70463eaee..98948a616f1 100644 --- a/src/mesa/main/draw.c +++ b/src/mesa/main/draw.c @@ -1699,7 +1699,7 @@ _mesa_exec_MultiDrawArraysIndirect(GLenum mode, const GLvoid *indirect, "glMultiDrawArraysIndirect")) return; - const ubyte *ptr = (const ubyte *) indirect; + const uint8_t *ptr = (const uint8_t *) indirect; for (unsigned i = 0; i < primcount; i++) { DrawArraysIndirectCommand *cmd = (DrawArraysIndirectCommand *) ptr; _mesa_exec_DrawArraysInstancedBaseInstance(mode, cmd->first, @@ -1781,7 +1781,7 @@ _mesa_exec_MultiDrawElementsIndirect(GLenum mode, GLenum type, "glMultiDrawArraysIndirect")) return; - const ubyte *ptr = (const ubyte *) indirect; + const uint8_t *ptr = (const uint8_t *) indirect; for (unsigned i = 0; i < primcount; i++) { _mesa_exec_DrawElementsIndirect(mode, type, ptr); |