Skip to content

Commit

Permalink
Added cairo_format_stride_for_width()
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Nov 25, 2010
1 parent c0cf569 commit e3f52a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Image.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e3f52a8

Please sign in to comment.