diff options
author | Lionel Landwerlin <[email protected]> | 2019-08-09 15:59:42 +0300 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2019-08-09 22:50:29 +0300 |
commit | 8f4dea20fcfeeb37d43f5bfa66b0afebf1735afe (patch) | |
tree | 6dc36a13bf2c9343ffadc3165bd882f798844c5f /src/mesa/main/draw.c | |
parent | 7abac7a8bfcf3f84a9de6726413c516b07adc22c (diff) |
mesa: drop some p_compiler.h types
Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Acked-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/mesa/main/draw.c')
-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); |