GLUtil: Encapsulate functions in a namespace

This commit is contained in:
Stenzek
2018-03-10 14:52:48 +10:00
parent e31cc1f679
commit 51a586d11a
4 changed files with 11 additions and 12 deletions

View File

@ -8,12 +8,8 @@
#include "Common/GL/GLExtensions/GLExtensions.h"
#ifndef _WIN32
#include <sys/types.h>
#endif
namespace GLUtil
{
void InitInterface();
// Helpers
GLuint OpenGL_CompileProgram(const std::string& vertexShader, const std::string& fragmentShader);
GLuint CompileProgram(const std::string& vertexShader, const std::string& fragmentShader);
}