Browse Source

Added cairo_format_stride_for_width()

v1.x
Tj Holowaychuk 14 years ago
parent
commit
e3f52a8184
  1. 2
      src/Image.cc

2
src/Image.cc

@ -319,7 +319,7 @@ Image::loadJPEG() {
, CAIRO_FORMAT_ARGB32
, width
, height
, width * 4);
, cairo_format_stride_for_width(CAIRO_FORMAT_ARGB32, width));
// Cleanup
fclose(stream);

Loading…
Cancel
Save