modify for WINRT support

This commit is contained in:
mancoast
2019-04-26 14:57:58 -04:00
parent 4074fd138a
commit 33cb7026bd
4 changed files with 15 additions and 3 deletions

View File

@ -1224,7 +1224,7 @@ void ShaderEngine::reset()
GLuint ShaderEngine::CompileShaderProgram(const std::string & VertexShaderCode, const std::string & FragmentShaderCode, const std::string & shaderTypeString){
#ifdef WIN32
#if defined(WIN32) && !defined(EYETUNE_WINRT)
GLenum err = glewInit();
#endif /** WIN32 */