Consistently allow > 16384 verts

This commit is contained in:
Luke Benstead 2019-03-28 13:07:53 +00:00
parent cd04784c33
commit 8982444406

View File

@ -22,7 +22,7 @@ static GLubyte ACTIVE_CLIENT_TEXTURE = 0;
#define ITERATE(count) \
GLushort i = count; \
GLuint i = count; \
while(i--)
@ -1238,7 +1238,7 @@ void APIENTRY glDrawArrays(GLenum mode, GLint first, GLsizei count) {
return;
}
submitVertices(mode, first, count, GL_UNSIGNED_SHORT, NULL);
submitVertices(mode, first, count, GL_UNSIGNED_INT, NULL);
}
void APIENTRY glEnableClientState(GLenum cap) {