Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xcb: Fix _put_image_boxes() if no SHM is available
This function tries to use _cairo_xcb_connection_put_image() to do the actual work. However, that function can only be used for images with "native" stride. If we only want to upload a rectangle from within an image, the function _cairo_xcb_connection_put_subimage() has to be used. This function makes sure that the correct information is sent to the X11 server. No unit test for this, because we currently do not test the !SHM case automatically. Perhaps we should? Signed-off-by: Uli Schlachter <psychon@znc.in>
- Loading branch information