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,
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,