Revision: 54173
http://brlcad.svn.sourceforge.net/brlcad/?rev=54173&view=rev
Author: brlcad
Date: 2013-01-14 22:44:51 +0000 (Mon, 14 Jan 2013)
Log Message:
-----------
zero is also not valid, so go ahead and check if gama chunk is positive.
Modified Paths:
--------------
brlcad/trunk/src/fb/fb-png.c
Modified: brlcad/trunk/src/fb/fb-png.c
===================================================================
--- brlcad/trunk/src/fb/fb-png.c 2013-01-14 22:43:58 UTC (rev 54172)
+++ brlcad/trunk/src/fb/fb-png.c 2013-01-14 22:44:51 UTC (rev 54173)
@@ -189,7 +189,7 @@
PNG_FILTER_TYPE_DEFAULT);
/* default to no gamma correction */
- if (!(out_gamma < 0.0))
+ if (out_gamma > 0.0)
png_set_gAMA(png_p, info_p, out_gamma);
png_write_info(png_p, info_p);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits