From 2bff44ce6abf5898ec47b4b09c6040b15875ef90 Mon Sep 17 00:00:00 2001 From: Luke Benstead Date: Sat, 27 Jan 2018 14:01:58 +0000 Subject: [PATCH] Don't reset the client state when flushing arrays --- gl-arrays.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/gl-arrays.c b/gl-arrays.c index 7fc7692..8e144ba 100644 --- a/gl-arrays.c +++ b/gl-arrays.c @@ -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) { } } - -