ref: 9ca9b07341b7c758122cd0c0788fc8813c57d5ad
parent: fb5f6f1cff5cb7e1b90842181dbe04d3bbb696cc
author: Turo Lamminen <turol@iki.fi>
date: Thu Sep 8 09:42:08 EDT 2022
video: Move png_screenshots extern declaration to i_video.h
--- a/src/i_video.h
+++ b/src/i_video.h
@@ -95,6 +95,8 @@
extern int vga_porch_flash;
extern int force_software_renderer;
+extern int png_screenshots;
+
extern char *window_position;
void I_GetWindowPosition(int *x, int *y, int w, int h);
--- a/src/v_video.c
+++ b/src/v_video.c
@@ -841,7 +841,6 @@
// find a file name to save it to
#ifdef HAVE_LIBPNG
- extern int png_screenshots;
if (png_screenshots)
{
ext = "png";