1
0
forked from mirrors/0ad

Moves all GL draw commands to CDeviceCommandContext.

Differential Revision: https://code.wildfiregames.com/D4518
This was SVN commit r26525.
This commit is contained in:
vladislavbelov
2022-03-03 07:09:59 +00:00
parent 7c3aed5f36
commit 3a4bbd11fd
27 changed files with 250 additions and 127 deletions
+1 -1
View File
@@ -750,7 +750,7 @@ void ShadowMap::RenderDebugTexture(
texShader->VertexPointer(2, GL_FLOAT, 0, boxVerts);
texShader->TexCoordPointer(GL_TEXTURE0, 2, GL_FLOAT, 0, boxUV);
texShader->AssertPointersBound();
glDrawArrays(GL_TRIANGLES, 0, 6);
deviceCommandContext->Draw(0, 6);
texTech->EndPass();