Fix palette fog boundary rendering error

This commit is contained in:
Magnus Norddahl 2017-02-15 13:01:00 +01:00
parent 5dad292c56
commit fc97ef0913
1 changed files with 1 additions and 1 deletions

View File

@ -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)