OpenGL2: Reduce redundant GL calls.

This commit is contained in:
SmileTheory 2014-10-14 06:15:06 -07:00
parent 84206c8598
commit 0578b70f38
10 changed files with 73 additions and 78 deletions

View file

@ -1362,7 +1362,9 @@ typedef struct {
qboolean finishCalled;
int texEnv[2];
int faceCulling;
unsigned long glStateBits;
int faceCullFront;
uint32_t glStateBits;
uint32_t storedGlState;
uint32_t vertexAttribsNewFrame;
uint32_t vertexAttribsOldFrame;
float vertexAttribsInterpolation;
@ -2211,7 +2213,6 @@ GLSL
void GLSL_InitGPUShaders(void);
void GLSL_ShutdownGPUShaders(void);
void GLSL_VertexAttribsState(uint32_t stateBits);
void GLSL_VertexAttribPointers(uint32_t attribBits);
void GLSL_BindProgram(shaderProgram_t * program);
void GLSL_BindNullProgram(void);