[haiku-commits] r37173 - haiku/trunk/src/tools

  • From: mattmadia@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 19 Jun 2010 03:14:04 +0200 (CEST)

Author: mmadia
Date: 2010-06-19 03:14:04 +0200 (Sat, 19 Jun 2010)
New Revision: 37173
Changeset: http://dev.haiku-os.org/changeset/37173/haiku

Modified:
   haiku/trunk/src/tools/generate_boot_screen.cpp
Log:
From the libpng-1.2.x-to-1.4.x-summary.txt:
m. The function png_set_gray_1_2_4_to_8() was removed. It has been
      deprecated since libpng-1.0.18 and 1.2.9, when it was replaced with
      png_set_expand_gray_1_2_4_to_8() because the former function also
      expanded palette images.
This allows generate_boot_screen to compile.


Modified: haiku/trunk/src/tools/generate_boot_screen.cpp
===================================================================
--- haiku/trunk/src/tools/generate_boot_screen.cpp      2010-06-19 00:58:05 UTC 
(rev 37172)
+++ haiku/trunk/src/tools/generate_boot_screen.cpp      2010-06-19 01:14:04 UTC 
(rev 37173)
@@ -91,7 +91,7 @@
        // also make sure the alpha channel is stripped, in the end, we
        // expect 24 bits BGR data
        png_set_expand(pngPtr);
-       png_set_gray_1_2_4_to_8(pngPtr);
+       png_set_expand_gray_1_2_4_to_8(pngPtr);
        png_set_palette_to_rgb(pngPtr);
        png_set_gray_to_rgb(pngPtr);
        png_set_strip_alpha(pngPtr);


Other related posts:

  • » [haiku-commits] r37173 - haiku/trunk/src/tools - mattmadia