diff --git a/src/rendering/swrenderer/r_swrenderer.cpp b/src/rendering/swrenderer/r_swrenderer.cpp index 41b071517..a2863ec71 100644 --- a/src/rendering/swrenderer/r_swrenderer.cpp +++ b/src/rendering/swrenderer/r_swrenderer.cpp @@ -230,7 +230,7 @@ void FSoftwareRenderer::WriteSavePic (player_t *player, FileWriter *file, int wi r_viewpoint = mScene.MainThread()->Viewport->viewpoint; r_viewwindow = mScene.MainThread()->Viewport->viewwindow; } - auto blend = screen->CalcBlend(r_viewpoint.sector); + auto blend = screen->CalcBlend(r_viewpoint.sector, nullptr); const PalEntry bcolor(255, uint8_t(blend.X), uint8_t(blend.Y), uint8_t(blend.Z)); screen->SetFlash(bcolor, int(blend.W * 256)); screen->GetFlashedPalette (palette);