mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 19:38:06 -04:00
fix "clean screenshot"
This commit is contained in:
parent
bc2f6d3aeb
commit
9872a993b8
@ -1052,6 +1052,8 @@ byte I_GetNearestColor(byte *palette, int r, int g, int b)
|
||||
// [FG] save screenshots in PNG format
|
||||
boolean I_WritePNGfile(char *filename)
|
||||
{
|
||||
UpdateRender();
|
||||
|
||||
// [FG] adjust cropping rectangle if necessary
|
||||
SDL_Rect rect = {0};
|
||||
SDL_GetRendererOutputSize(renderer, &rect.w, &rect.h);
|
||||
|
Loading…
x
Reference in New Issue
Block a user