- implemented buffers for GL 3.x. These only get mapped during the data collection pass so the order of some things is different here.
This commit is contained in:
parent
e0e43ee7b3
commit
0f0dc2c852
7 changed files with 74 additions and 16 deletions
|
|
@ -114,7 +114,7 @@ void FGLRenderer::RenderScreenQuad()
|
|||
{
|
||||
mVBO->BindVBO();
|
||||
gl_RenderState.ResetVertexBuffer();
|
||||
glDrawArrays(GL_TRIANGLE_STRIP, FFlatVertexBuffer::PRESENT_INDEX, 4);
|
||||
GLRenderer->mVBO->RenderArray(GL_TRIANGLE_STRIP, FFlatVertexBuffer::PRESENT_INDEX, 4);
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue