mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-16 01:11:28 +00:00
PNG screenshots: don't save custom gAMA.
This should be more correct, since previously, the saved PNGs were way too contrasty when looked from within a browser. Now, they'll always be slightly darker than in-game (assuming one has a gamma greater than 1). git-svn-id: https://svn.eduke32.com/eduke32@2673 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
1c530d4b2f
commit
94f9c03123
1 changed files with 1 additions and 1 deletions
|
@ -15789,7 +15789,7 @@ static int32_t screencapture_png(const char *filename, char inverseit, const cha
|
|||
png_set_PLTE(png_ptr, info_ptr, palette, 256);
|
||||
}
|
||||
|
||||
png_set_gAMA(png_ptr, info_ptr, vid_gamma); // 1.0/vid_gamma ?
|
||||
// png_set_gAMA(png_ptr, info_ptr, vid_gamma); // 1.0/vid_gamma ?
|
||||
// png_set_sRGB(png_ptr, info_ptr, PNG_sRGB_INTENT_SATURATION); // hm...
|
||||
|
||||
text = (png_textp)png_malloc(png_ptr, 2*png_sizeof(png_text));
|
||||
|
|
Loading…
Reference in a new issue