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) \ #define ITERATE(count) \
GLushort i = count; \ GLuint i = count; \
while(i--) while(i--)
@ -1238,7 +1238,7 @@ void APIENTRY glDrawArrays(GLenum mode, GLint first, GLsizei count) {
return; return;
} }
submitVertices(mode, first, count, GL_UNSIGNED_SHORT, NULL); submitVertices(mode, first, count, GL_UNSIGNED_INT, NULL);
} }
void APIENTRY glEnableClientState(GLenum cap) { void APIENTRY glEnableClientState(GLenum cap) {