mesa: drop some p_compiler.h types
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 9 Aug 2019 12:59:42 +0000 (15:59 +0300)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 9 Aug 2019 19:50:29 +0000 (22:50 +0300)
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Acked-by: Eric Engestrom <eric.engestrom@intel.com>
src/mesa/main/draw.c

index fa70463eaeea14331e814af5de7e45b5546d7c5f..98948a616f1ea0483fcbae54b22a5c3b560fc487 100644 (file)
@@ -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);