summaryrefslogtreecommitdiff
path: root/src/setup/display.c
diff options
context:
space:
mode:
authorFabian Greffrath2014-03-17 16:42:49 +0100
committerFabian Greffrath2014-03-17 16:42:49 +0100
commit002822dfa2bd78f946b7e4730004220919d4ddb9 (patch)
tree91a4c4be797a5f1edd038692f20b824e769ea979 /src/setup/display.c
parenta8029480188a1b02f4acffc33ef4cfb1b94aecc1 (diff)
downloadchocolate-doom-002822dfa2bd78f946b7e4730004220919d4ddb9.tar.gz
chocolate-doom-002822dfa2bd78f946b7e4730004220919d4ddb9.tar.bz2
chocolate-doom-002822dfa2bd78f946b7e4730004220919d4ddb9.zip
Allow for PNG screenshots.
Diffstat (limited to 'src/setup/display.c')
-rw-r--r--src/setup/display.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/setup/display.c b/src/setup/display.c
index 494d732a..99c3d8aa 100644
--- a/src/setup/display.c
+++ b/src/setup/display.c
@@ -110,6 +110,7 @@ static int usegamma = 0;
int graphical_startup = 1;
int show_endoom = 1;
+int png_screenshots = 0;
// These are the last screen width/height values that were chosen by the
// user. These are used when finding the "nearest" mode, so when
@@ -710,6 +711,7 @@ void BindDisplayVariables(void)
M_BindVariable("video_driver", &video_driver);
M_BindVariable("window_position", &window_position);
M_BindVariable("usegamma", &usegamma);
+ M_BindVariable("png_screenshots", &png_screenshots);
if (gamemission == doom || gamemission == heretic