- fixed sky cap color handling
Backported from Raze
This commit is contained in:
parent
ed5287ef23
commit
7ad09c7a77
2 changed files with 2 additions and 2 deletions
|
|
@ -471,7 +471,8 @@ void FSkyVertexBuffer::DoRenderDome(FRenderState& state, FGameTexture* tex, int
|
|||
// The caps only get drawn for the main layer but not for the overlay.
|
||||
if (mode == FSkyVertexBuffer::SKYMODE_MAINLAYER && tex != nullptr)
|
||||
{
|
||||
auto& col = R_GetSkyCapColor(tex);
|
||||
auto col = R_GetSkyCapColor(tex);
|
||||
|
||||
col.first.r = col.first.r * color.r / 255;
|
||||
col.first.g = col.first.g * color.g / 255;
|
||||
col.first.b = col.first.b * color.b / 255;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue