mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-14 08:30:50 +00:00
- for got to save this.
This commit is contained in:
parent
f9d4ea8424
commit
29012a89c6
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ void FSoftwareRenderer::WriteSavePic (player_t *player, FileWriter *file, int wi
|
||||||
r_viewpoint = mScene.MainThread()->Viewport->viewpoint;
|
r_viewpoint = mScene.MainThread()->Viewport->viewpoint;
|
||||||
r_viewwindow = mScene.MainThread()->Viewport->viewwindow;
|
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));
|
const PalEntry bcolor(255, uint8_t(blend.X), uint8_t(blend.Y), uint8_t(blend.Z));
|
||||||
screen->SetFlash(bcolor, int(blend.W * 256));
|
screen->SetFlash(bcolor, int(blend.W * 256));
|
||||||
screen->GetFlashedPalette (palette);
|
screen->GetFlashedPalette (palette);
|
||||||
|
|
Loading…
Reference in a new issue