Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
khunphan
khunphan-0.55-png_uint_32.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File khunphan-0.55-png_uint_32.diff of Package khunphan
--- khunphan/btexture.cpp +++ khunphan/btexture.cpp @@ -162,10 +162,15 @@ // read png file info png_read_info(png_ptr, info_ptr); - png_get_IHDR(png_ptr, info_ptr, (png_uint_32 *)&width, (png_uint_32 *)&height, + png_uint_32 png_width, png_height; + + png_get_IHDR(png_ptr, info_ptr, &png_width, &png_height, &bit_depth, &color_type, &interlace_type, &compression_type, &filter_type); + width = png_width; + height = png_height; + channels = png_get_channels(png_ptr, info_ptr); rowbytes = png_get_rowbytes(png_ptr, info_ptr);
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