From: Lionel Landwerlin Date: Fri, 9 Aug 2019 12:59:42 +0000 (+0300) Subject: mesa: drop some p_compiler.h types X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8f4dea20fcfeeb37d43f5bfa66b0afebf1735afe;p=mesa.git mesa: drop some p_compiler.h types Signed-off-by: Lionel Landwerlin Reviewed-by: Alyssa Rosenzweig Acked-by: Eric Engestrom --- 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);