- 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

@ -42,6 +42,9 @@
#include "hwrenderer/utility/hw_clock.h"
#include "hwrenderer/data/hw_viewpointbuffer.h"
namespace OpenGLRenderer
{
FGLRenderState gl_RenderState;
static VSMatrix identityMatrix(1);
@ -575,3 +578,4 @@ bool FGLRenderState::SetDepthClamp(bool on)
return res;
}
}