mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
correction pointed out by DrSpliff
This commit is contained in:
parent
1a250f0ef7
commit
92b6550fe3
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ LoadPNG (QFile *infile)
|
|||
* this file may have come from--so if it doesn't have a file gamma, don't
|
||||
* 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);
|
||||
|
||||
/* All transformations have been registered, now update the info_ptr structure */
|
||||
|
|
Loading…
Reference in a new issue