OpenGL2: Reduce redundant GL calls.
This commit is contained in:
parent
84206c8598
commit
0578b70f38
10 changed files with 73 additions and 78 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue