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 -2
View File
@@ -404,8 +404,7 @@ void R_BindVao(vao_t * vao)
qglBindBufferARB(GL_ARRAY_BUFFER_ARB, vao->vertexesVBO);
qglBindBufferARB(GL_ELEMENT_ARRAY_BUFFER_ARB, vao->indexesIBO);
if (vao != tess.vao)
Vao_SetVertexPointers(vao);
Vao_SetVertexPointers(vao);
}
}
}