From: jmt Date: Tue, 6 Oct 2009 20:04:31 +0000 (+0000) Subject: Update for screen-dumps in PNG format instead of PPM. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=23ce5371685695dc520b0c8a67162596c7b0b389;p=flightgear.git Update for screen-dumps in PNG format instead of PPM. --- diff --git a/src/GUI/gui_funcs.cxx b/src/GUI/gui_funcs.cxx index 1b7acf2b2..5b943d662 100644 --- a/src/GUI/gui_funcs.cxx +++ b/src/GUI/gui_funcs.cxx @@ -506,7 +506,7 @@ bool fgDumpSnapShot () { char filename[24]; static int count = 1; while (count < 1000) { - snprintf(filename, 24, "fgfs-screen-%03d.ppm", count++); + snprintf(filename, 24, "fgfs-screen-%03d.png", count++); SGPath p(dir); p.append(filename);