From 8ce1e6652fe471c2fb64102930625de8b2a16907 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Mon, 15 Apr 2013 10:19:09 +0100 Subject: [PATCH] Gix MSVC build. --- helpers/glsize.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, -- 2.43.0