- for got to save this.

This commit is contained in:
Christoph Oelckers 2019-03-09 13:34:22 +01:00
parent f9d4ea8424
commit 29012a89c6

View file

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