Don't reset the client state when flushing arrays

This commit is contained in:
Luke Benstead 2018-01-27 14:01:58 +00:00
parent bd80c9ae7f
commit 2bff44ce6a

View File

@ -680,9 +680,6 @@ static inline void _glKosTexCoordSwizzle(glTexCoord *uv1, glTexCoord *uv2) {
*uv2 = * &tmp;
}
static inline void _glKosArraysResetState() {
GL_KOS_VERTEX_PTR_MODE = 0;
}
//========================================================================================//
//== Vertex Flag Settings for the PVR2DC hardware ==//
@ -881,8 +878,6 @@ static inline pvr_vertex_t *_glKosArraysDest() {
static inline void _glKosArraysFlush(GLuint count) {
_glKosVertexBufAdd(count);
_glKosArraysResetState();
}
//========================================================================================//
@ -1350,5 +1345,3 @@ void APIENTRY glDisableClientState(GLenum cap) {
}
}