mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-25 21:41:03 +00:00
- fixed: Brightmap application for horizons was undefined..
This depended on the state of the previously rendered portal which could have switched it off.
This commit is contained in:
parent
78566c0d52
commit
b550f57ce3
1 changed files with 1 additions and 0 deletions
|
@ -978,6 +978,7 @@ void HWHorizonPortal::DrawContents(HWDrawInfo *di, FRenderState &state)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
state.EnableBrightmap(true);
|
||||||
state.SetMaterial(texture, UF_Texture, 0, CLAMP_NONE, 0, -1);
|
state.SetMaterial(texture, UF_Texture, 0, CLAMP_NONE, 0, -1);
|
||||||
state.SetObjectColor(origin->specialcolor);
|
state.SetObjectColor(origin->specialcolor);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue