mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
- do not overwrite a textures sky cap color.
This commit is contained in:
parent
10b9d41d57
commit
4260d334e2
1 changed files with 2 additions and 1 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…
Reference in a new issue