Skip to content
Snippets Groups Projects
Commit 2dc7df91 authored by David Parks's avatar David Parks
Browse files

SH-2743 Fix for shader compiler error on some GL 3.x implementations.

parent 4e92846c
No related branches found
No related tags found
No related merge requests found
...@@ -579,7 +579,7 @@ GLhandleARB LLShaderMgr::loadShaderFile(const std::string& filename, S32 & shade ...@@ -579,7 +579,7 @@ GLhandleARB LLShaderMgr::loadShaderFile(const std::string& filename, S32 & shade
text[count++] = strdup("#define ATTRIBUTE attribute\n"); text[count++] = strdup("#define ATTRIBUTE attribute\n");
text[count++] = strdup("#define VARYING varying\n"); text[count++] = strdup("#define VARYING varying\n");
} }
else if (version < 3.f) else if (version < 3.3f)
{ {
//set version to 1.20 //set version to 1.20
text[count++] = strdup("#version 120\n"); text[count++] = strdup("#version 120\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment