- 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

@ -34,6 +34,9 @@
#include "hwrenderer/utility/hw_shaderpatcher.h"
#include "w_wad.h"
namespace OpenGLRenderer
{
FShaderProgram::FShaderProgram()
{
for (int i = 0; i < NumShaderTypes; i++)
@ -249,3 +252,5 @@ FString FShaderProgram::PatchShader(ShaderType type, const FString &code, const
return patchedCode;
}
}