OpenGL2: Reduce redundant GL calls.
This commit is contained in:
1 parent
84206c8598
commit
0578b70f38
10 files changed
+73
-78
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user