From: José Fonseca Date: Mon, 15 Apr 2013 09:19:09 +0000 (+0100) Subject: Gix MSVC build. X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=8ce1e6652fe471c2fb64102930625de8b2a16907;hp=1ce35b2c8e3f252405d2a06ec601eacfa2f5bea2;p=apitrace Gix MSVC build. --- diff --git a/helpers/glsize.hpp b/helpers/glsize.hpp index 339db88..2358370 100644 --- a/helpers/glsize.hpp +++ b/helpers/glsize.hpp @@ -485,7 +485,7 @@ _glMultiDrawArraysIndirect_count(const GLvoid *indirect, GLsizei drawcount, GLsi GLuint count = 0; for (GLsizei i = 0; i < drawcount; ++i) { - cmd = (const DrawArraysIndirectCommand *)((const uint8_t *)indirect + i * stride); + cmd = (const DrawArraysIndirectCommand *)((const GLbyte *)indirect + i * stride); GLuint count_i = _glDrawArraysInstancedBaseInstance_count( cmd->first, @@ -552,7 +552,7 @@ _glMultiDrawElementsIndirect_count(GLenum type, const GLvoid *indirect, GLsizei GLuint count = 0; for (GLsizei i = 0; i < drawcount; ++i) { - cmd = (const DrawElementsIndirectCommand *)((const uint8_t *)indirect + i * stride); + cmd = (const DrawElementsIndirectCommand *)((const GLbyte *)indirect + i * stride); GLuint count_i = _glDrawElementsInstancedBaseVertexBaseInstance_count( cmd->count,