1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-06 05:44:11 +01:00

fixed image clearing

This commit is contained in:
kojima
2000-03-07 01:12:12 +00:00
parent 0f9aa277c1
commit b974bd7e78
4 changed files with 52 additions and 9 deletions

View File

@@ -154,9 +154,8 @@ RLoadPNG(RContext *context, char *file, int index)
if (sgamma==0)
sgamma = 1;
} else {
/* no, this is correct. Old gimp versions are broken and save wrong
* data. Upgrade gimp. */
sgamma = 2.0;
/* blah */
sgamma = 2.2;
}
if (png_get_gAMA(png, pinfo, &gamma))