Nick WARNE: add file name to screenshot info line
This commit is contained in:
parent
0096c1bb02
commit
80bcaa49e6
@ -71,8 +71,8 @@ bool sg_glWritePPMFile(const char *filename, GLubyte *buffer, int win_width, int
|
|||||||
fclose(fp);
|
fclose(fp);
|
||||||
free(ibuffer);
|
free(ibuffer);
|
||||||
|
|
||||||
printf("wrote file (%d x %d pixels, %d bytes)\n",
|
printf("wrote file '%s' (%d x %d pixels, %d bytes)\n",
|
||||||
win_width, win_height, RGB3*win_width*win_height);
|
filename, win_width, win_height, RGB3*win_width*win_height);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user