mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-20 11:03:08 +00:00
Add missing LightMap bind call
This commit is contained in:
parent
604c4ff8e0
commit
24070cba2d
1 changed files with 3 additions and 0 deletions
|
@ -626,6 +626,9 @@ bool FShader::Load(const char * name, const char * vert_prog_lump, const char *
|
||||||
int shadowmapindex = glGetUniformLocation(hShader, "ShadowMap");
|
int shadowmapindex = glGetUniformLocation(hShader, "ShadowMap");
|
||||||
if (shadowmapindex > 0) glUniform1i(shadowmapindex, 16);
|
if (shadowmapindex > 0) glUniform1i(shadowmapindex, 16);
|
||||||
|
|
||||||
|
int lightmapindex = glGetUniformLocation(hShader, "LightMap");
|
||||||
|
if (lightmapindex > 0) glUniform1i(lightmapindex, 17);
|
||||||
|
|
||||||
glUseProgram(0);
|
glUseProgram(0);
|
||||||
return linked;
|
return linked;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue