Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1
povray
povray-3.6.1-libpng14.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File povray-3.6.1-libpng14.patch of Package povray
Index: povray-3.6.1/source/png_pov.cpp =================================================================== --- povray-3.6.1.orig/source/png_pov.cpp +++ povray-3.6.1/source/png_pov.cpp @@ -1428,7 +1428,7 @@ void Read_Png_Image(IMAGE *Image, char * if(r_info_ptr->valid & PNG_INFO_tRNS) { for (index = 0; index < r_info_ptr->num_trans; index++) - cmap[index].Transmit = 255 - r_info_ptr->trans[index]; + cmap[index].Transmit = 255 - r_info_ptr->trans_alpha[index]; } Image->data.map_lines = (unsigned char **)POV_MALLOC(height * sizeof(unsigned char *), "PNG image"); @@ -1461,7 +1461,7 @@ void Read_Png_Image(IMAGE *Image, char * if(r_info_ptr->valid & PNG_INFO_tRNS) { for (index = 0; index < r_info_ptr->num_trans; index++) - cmap[index].Transmit = 255 - r_info_ptr->trans[index]; + cmap[index].Transmit = 255 - r_info_ptr->trans_alpha[index]; } Image->data.map_lines = (unsigned char **)POV_MALLOC(height * sizeof(unsigned char *), "PNG image");
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor