From 8f4dea20fcfeeb37d43f5bfa66b0afebf1735afe Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Fri, 9 Aug 2019 15:59:42 +0300 Subject: mesa: drop some p_compiler.h types Signed-off-by: Lionel Landwerlin Reviewed-by: Alyssa Rosenzweig Acked-by: Eric Engestrom --- src/mesa/main/draw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/main') 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); -- cgit v1.2.3