mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-26 14:11:29 +00:00
Use GetSkyCapColor to pick the sky solid color
This commit is contained in:
parent
491a4e28c0
commit
b3e4ba13ba
1 changed files with 2 additions and 3 deletions
|
@ -1033,9 +1033,8 @@ static void R_DrawSkyColumn(int start_x, int y1, int y2, int columns)
|
|||
dc_dest = (ylookup[y1] + start_x) * 4 + dc_destorg;
|
||||
dc_count = y2 - y1;
|
||||
|
||||
// To do: figure out how GZDoom calculates the solid top and bottom colors
|
||||
uint32_t solid_top = 0xff7f7f7f;
|
||||
uint32_t solid_bottom = 0xff3f3f3f;
|
||||
uint32_t solid_top = frontskytex->GetSkyCapColor(false);
|
||||
uint32_t solid_bottom = frontskytex->GetSkyCapColor(true);
|
||||
|
||||
if (columns == 4)
|
||||
if (!backskytex)
|
||||
|
|
Loading…
Reference in a new issue