Consistently allow > 16384 verts
This commit is contained in:
parent
cd04784c33
commit
8982444406
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user