From 94f9c0312314b7c5075cfcc89d8a5f80f1f554d2 Mon Sep 17 00:00:00 2001 From: helixhorned Date: Fri, 18 May 2012 21:40:54 +0000 Subject: [PATCH] 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 --- polymer/eduke32/build/src/engine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/build/src/engine.c b/polymer/eduke32/build/src/engine.c index 278ce4bc7..9515870ce 100644 --- a/polymer/eduke32/build/src/engine.c +++ b/polymer/eduke32/build/src/engine.c @@ -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));