Commits

davep committed 4233ba6

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

Comments (0)

Files changed (1)

indra/llrender/llshadermgr.cpp

 		text[count++] = strdup("#define ATTRIBUTE attribute\n");
 		text[count++] = strdup("#define VARYING varying\n");
 	}
-	else if (version < 3.f)
+	else if (version < 3.3f)
 	{
 		//set version to 1.20
 		text[count++] = strdup("#version 120\n");