mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-29 20:20:43 +00:00
correct gamma test thanks to Grievre
This commit is contained in:
parent
09143b7fb1
commit
c3e7832d85
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ LoadPNG (QFile *infile)
|
||||||
* this file may have come from--so if it doesn't have a file gamma, don't
|
* this file may have come from--so if it doesn't have a file gamma, don't
|
||||||
* do any correction ("do no harm")
|
* do any correction ("do no harm")
|
||||||
*/
|
*/
|
||||||
if (!png_get_gAMA(png_ptr, info_ptr, &gamma))
|
if (png_get_gAMA(png_ptr, info_ptr, &gamma))
|
||||||
png_set_gamma (png_ptr, 1.0, gamma);
|
png_set_gamma (png_ptr, 1.0, gamma);
|
||||||
|
|
||||||
/* All transformations have been registered, now update the info_ptr
|
/* All transformations have been registered, now update the info_ptr
|
||||||
|
|
Loading…
Reference in a new issue