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

merge

parents 183fe0d1 552a02dc
No related branches found
No related tags found
No related merge requests found
...@@ -539,6 +539,8 @@ GLhandleARB LLShaderMgr::loadShaderFile(const std::string& filename, S32 & shade ...@@ -539,6 +539,8 @@ GLhandleARB LLShaderMgr::loadShaderFile(const std::string& filename, S32 & shade
if (gGLManager.mGLVersion < 2.1f) if (gGLManager.mGLVersion < 2.1f)
{ {
text[count++] = strdup("#version 110\n"); text[count++] = strdup("#version 110\n");
text[count++] = strdup("#define ATTRIBUTE attribute\n");
text[count++] = strdup("#define VARYING varying\n");
} }
else if (gGLManager.mGLVersion < 3.f) else if (gGLManager.mGLVersion < 3.f)
{ {
......
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