- moved the entire OpenGL backend into a separate namespace.

This commit is contained in:
Christoph Oelckers 2018-10-29 13:56:17 +01:00
commit 118bc78fe3
31 changed files with 139 additions and 20 deletions

View file

@ -50,6 +50,10 @@ extern bool vid_hdr_active;
CVAR(Int, gl_dither_bpc, 0, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOINITCALL)
namespace OpenGLRenderer
{
void FGLRenderer::RenderScreenQuad()
{
screen->mVertexData->Bind(gl_RenderState);
@ -287,3 +291,4 @@ void FGLRenderer::ClearBorders()
glDisable(GL_SCISSOR_TEST);
}
}