Fixed a warning in shaders compilation

This commit is contained in:
Deve
2017-03-21 19:42:53 +01:00
parent 583b858860
commit 4ef8ec3af2

View File

@@ -146,7 +146,9 @@ GLuint ShaderFilesManager::loadShader(const std::string &file, unsigned type)
if (CVS->isARBExplicitAttribLocationUsable())
{
#if !defined(USE_GLES2)
code << "#extension GL_ARB_explicit_attrib_location : enable\n";
#endif
code << "#define Explicit_Attrib_Location_Usable\n";
}