Changeset 36494 in vbox for trunk/src/VBox/Main/src-all
- Timestamp:
- Apr 1, 2011 1:14:47 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 70900
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-all/DisplayPNGUtil.cpp
r35368 r36494 153 153 154 154 png_set_write_fn(png_ptr, 155 ( voidp)&ctx,155 (png_voidp)&ctx, 156 156 png_write_data_fn, 157 157 png_output_flush_fn); … … 174 174 png_set_bgr(png_ptr); 175 175 176 if ( info_ptr->valid & PNG_INFO_IDAT)177 png_write_image(png_ptr, info_ptr->row_pointers);176 if (png_get_valid(png_ptr, info_ptr, PNG_INFO_IDAT)) 177 png_write_image(png_ptr, png_get_rows(png_ptr, info_ptr)); 178 178 179 179 png_write_end(png_ptr, info_ptr);
Note:
See TracChangeset
for help on using the changeset viewer.