mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-18 23:52:02 +00:00
Fixed inconsistent state of lights in compatibility renderer
This commit is contained in:
parent
7b99c883e1
commit
2813a22740
1 changed files with 1 additions and 1 deletions
|
@ -456,7 +456,7 @@ bool gl_SetupLightTexture()
|
||||||
{
|
{
|
||||||
if (GLRenderer->gllight == nullptr) return false;
|
if (GLRenderer->gllight == nullptr) return false;
|
||||||
FMaterial * pat = FMaterial::ValidateTexture(GLRenderer->gllight, false);
|
FMaterial * pat = FMaterial::ValidateTexture(GLRenderer->gllight, false);
|
||||||
pat->Bind(CLAMP_XY_NOMIP, 0);
|
gl_RenderState.SetMaterial(pat, CLAMP_XY_NOMIP, 0, -1, false);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue