mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-31 13:50:48 +00:00
- fix last commit
This commit is contained in:
parent
5bae588f80
commit
ee2c775bd8
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ void WriteSavePic(player_t* player, FileWriter* file, int width, int height)
|
||||||
RenderState.SetNoSoftLightLevel();
|
RenderState.SetNoSoftLightLevel();
|
||||||
|
|
||||||
TArray<uint8_t> scr(width * height * 3, true);
|
TArray<uint8_t> scr(width * height * 3, true);
|
||||||
screen->CopyScreenToBuffer(width, height, scr);
|
screen->CopyScreenToBuffer(width, height, scr.Data());
|
||||||
|
|
||||||
DoWriteSavePic(file, SS_RGB, scr.Data(), width, height, viewsector, screen->FlipSavePic());
|
DoWriteSavePic(file, SS_RGB, scr.Data(), width, height, viewsector, screen->FlipSavePic());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue