Skip to content

Commit

Permalink
- fix last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Jul 29, 2022
1 parent 5bae588 commit ee2c775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rendering/hwrenderer/hw_entrypoint.cpp
Expand Up @@ -285,7 +285,7 @@ void WriteSavePic(player_t* player, FileWriter* file, int width, int height)
RenderState.SetNoSoftLightLevel();

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

Expand Down

0 comments on commit ee2c775

Please sign in to comment.