mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 23:32:02 +00:00
Fix palette fog boundary rendering error
This commit is contained in:
parent
5dad292c56
commit
fc97ef0913
1 changed files with 1 additions and 1 deletions
|
@ -2889,7 +2889,7 @@ namespace swrenderer
|
||||||
DrawFogBoundaryLinePalCommand::DrawFogBoundaryLinePalCommand(const SpanDrawerArgs &args, int y, int x1, int x2) : PalSpanCommand(args), y(y), x1(x1), x2(x2)
|
DrawFogBoundaryLinePalCommand::DrawFogBoundaryLinePalCommand(const SpanDrawerArgs &args, int y, int x1, int x2) : PalSpanCommand(args), y(y), x1(x1), x2(x2)
|
||||||
{
|
{
|
||||||
_colormap = args.Colormap();
|
_colormap = args.Colormap();
|
||||||
_dest = RenderViewport::Instance()->GetDest(x1, y);
|
_dest = RenderViewport::Instance()->GetDest(0, y);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DrawFogBoundaryLinePalCommand::Execute(DrawerThread *thread)
|
void DrawFogBoundaryLinePalCommand::Execute(DrawerThread *thread)
|
||||||
|
|
Loading…
Reference in a new issue