]> git.mxchange.org Git - flightgear.git/commitdiff
Update for screen-dumps in PNG format instead of PPM.
authorjmt <jmt>
Tue, 6 Oct 2009 20:04:31 +0000 (20:04 +0000)
committerTim Moore <timoore@redhat.com>
Wed, 7 Oct 2009 06:24:59 +0000 (08:24 +0200)
src/GUI/gui_funcs.cxx

index 1b7acf2b27bfbf9ca89e9f0da3ff6032895d1953..5b943d662733386a7af74a89613f414216d1312c 100644 (file)
@@ -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);