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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user