]> git.cworth.org Git - apitrace/commitdiff
Gix MSVC build.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 15 Apr 2013 09:19:09 +0000 (10:19 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 15 Apr 2013 09:19:09 +0000 (10:19 +0100)
helpers/glsize.hpp

index 339db88055e5b0bcdade7073383517f73e977880..2358370bbc935caa2db74cc51e8a99b088f5da93 100644 (file)
@@ -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,