commit | f9e710b57c9b21638431fbfec6cf45a40bdf1b57 | [log] [tgz] |
---|---|---|
author | John Kåre Alsaker <john.kare.alsaker@gmail.com> | Tue Nov 13 19:10:22 2012 +0100 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Tue Nov 13 17:01:02 2012 -0500 |
tree | c17a1a2ac3cf4c278ba188f19d477e856513a494 | |
parent | a95b2d6d41fb9cf0687f25cae57868eda9b7b04c [diff] [blame] |
screenshooter: Use the renderer function for reading out pixels This also changes the compositor's read_format to a pixman format.
diff --git a/src/compositor.h b/src/compositor.h index e2dbd0d..57d363a 100644 --- a/src/compositor.h +++ b/src/compositor.h
@@ -353,7 +353,7 @@ PFNEGLDESTROYIMAGEKHRPROC destroy_image; int has_unpack_subimage; - GLenum read_format; + pixman_format_code_t read_format; PFNEGLBINDWAYLANDDISPLAYWL bind_display; PFNEGLUNBINDWAYLANDDISPLAYWL unbind_display;