git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4993 fc73d0e0-1445-4013-8a0c-d673dee63da5

This commit is contained in:
Spoike 2015-10-27 15:25:13 +00:00
parent 9000f497ec
commit e03a8d9d41
1 changed files with 2 additions and 0 deletions

View File

@ -1879,12 +1879,14 @@ static GLhandleARB GLSlang_CreateShader (const char *name, int ver, const char *
prstrings[strings] = "#define VERTEX_SHADER\n";
length[strings] = strlen(prstrings[strings]);
strings++;
#ifdef RTLIGHTS
if (!r_shadow_shadowmapping.ival && ver >= 120)
{
prstrings[strings] = "invariant gl_Position;\n";
length[strings] = strlen(prstrings[strings]);
strings++;
}
#endif
if (gl_config.gles)
{
prstrings[strings] =