]> git.mxchange.org Git - simgear.git/commitdiff
Nick WARNE: add file name to screenshot info line
authormfranz <mfranz>
Thu, 14 Jun 2007 20:20:18 +0000 (20:20 +0000)
committermfranz <mfranz>
Thu, 14 Jun 2007 20:20:18 +0000 (20:20 +0000)
simgear/screen/screen-dump.cxx

index 8251ab8c61e168eb9397d78c5c31c56ca69f572e..8e23b8f2dc9d8d6e81636eaed839bc9d29be9066 100644 (file)
@@ -71,8 +71,8 @@ bool sg_glWritePPMFile(const char *filename, GLubyte *buffer, int win_width, int
     fclose(fp);
     free(ibuffer);
 
-    printf("wrote file (%d x %d pixels, %d bytes)\n",
-          win_width, win_height, RGB3*win_width*win_height);
+    printf("wrote file '%s' (%d x %d pixels, %d bytes)\n",
+          filename, win_width, win_height, RGB3*win_width*win_height);
     return true;
 }