Skip to content

Commit

Permalink
Fix light map colors
Browse files Browse the repository at this point in the history
  • Loading branch information
dpjudas committed Nov 8, 2021
1 parent 438abca commit 80920dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions VulkanDrv/VulkanTexture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ void VulkanTexture::Update(Renderer* renderer, const FTextureInfo& Info, DWORD P
for (uint32_t x = 0; x < mipwidth; x++)
{
const FColor& Src = line[x];
Ptr->R = Src.B;
Ptr->G = Src.G;
Ptr->B = Src.R;
Ptr->R = Src.B * 2;
Ptr->G = Src.G * 2;
Ptr->B = Src.R * 2;
Ptr->A = Src.A * 2;
Ptr++;
}
Expand Down

0 comments on commit 80920dc

Please sign in to comment.