OpenGL2: Reduce redundant GL calls.

This commit is contained in:
SmileTheory committed 2014-10-14 06:15:06 -07:00
1 parent 84206c8598
commit 0578b70f38
10 files changed
+73 -78

No files matched your search

-1
View File
@@ -442,7 +442,6 @@ static void DrawSkySide( struct image_s *image, const int mins[2], const int max
shaderProgram_t *sp = &tr.lightallShader[0];
vec4_t vector;
GLSL_VertexAttribsState(ATTR_POSITION | ATTR_TEXCOORD);
GLSL_BindProgram(sp);
GLSL_SetUniformMat4(sp, UNIFORM_MODELVIEWPROJECTIONMATRIX, glState.modelviewProjection);