Add missing LightMap bind call

This commit is contained in:
Magnus Norddahl 2021-09-24 17:24:59 +02:00
parent 604c4ff8e0
commit 24070cba2d

View file

@ -626,6 +626,9 @@ bool FShader::Load(const char * name, const char * vert_prog_lump, const char *
int shadowmapindex = glGetUniformLocation(hShader, "ShadowMap");
if (shadowmapindex > 0) glUniform1i(shadowmapindex, 16);
int lightmapindex = glGetUniformLocation(hShader, "LightMap");
if (lightmapindex > 0) glUniform1i(lightmapindex, 17);
glUseProgram(0);
return linked;
}