- moved some buffer variables out of GLRenderer into common parts of the code so that they can be accessed from hwrenderer as well.
This will allow more code to be moved out of the API dependent parts.
This commit is contained in:
parent
c5b3b9e107
commit
f7c7c8d1c5
12 changed files with 66 additions and 104 deletions
|
|
@ -52,7 +52,7 @@ CVAR(Int, gl_dither_bpc, 0, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOINITCALL)
|
|||
|
||||
void FGLRenderer::RenderScreenQuad()
|
||||
{
|
||||
mVBO->Bind(gl_RenderState);
|
||||
screen->mVertexData->Bind(gl_RenderState);
|
||||
gl_RenderState.ApplyBuffers();
|
||||
glDrawArrays(GL_TRIANGLE_STRIP, FFlatVertexBuffer::PRESENT_INDEX, 4);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue