Upscale screenshots 2x

The plan is to have Steam screenshots always be 2x, but in the VVVVVV
screenshots directory (for F6 keybind) save both 1x and 2x.

Again, just for now, the 2x screenshot is being saved to a temporary
location for testing and will get proper timestamps later.
This commit is contained in:
Misa authored and Misa Elizabeth Kai committed 2024-01-09 15:48:41 -08:00
1 parent 20f0fafa5e
commit 93ec2c6cca
8 files changed
+76 -4

No files matched your search

+10
View File
@@ -34,9 +34,19 @@ SDL_Surface* GRAPHICS_tempScreenshot(void)
return graphics.tempScreenshot;
}
SDL_Surface* GRAPHICS_tempScreenshot2x(void)
{
return graphics.tempScreenshot2x;
}
uint8_t UTIL_TakeScreenshot(SDL_Surface** surface)
{
return TakeScreenshot(surface);
}
uint8_t UTIL_UpscaleScreenshot2x(SDL_Surface* src, SDL_Surface** dest)
{
return UpscaleScreenshot2x(src, dest);
}
} /* extern "C" */