Code Review
/
src
/
agl-compositor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
meson.build, src: update for weston 11
[src/agl-compositor.git]
/
src
/
screenshooter.c
diff --git
a/src/screenshooter.c
b/src/screenshooter.c
index
ef3d32e
..
7d3edaa
100644
(file)
--- a/
src/screenshooter.c
+++ b/
src/screenshooter.c
@@
-59,7
+59,7
@@
screenshooter_shoot(struct wl_client *client,
struct weston_output *output =
weston_head_from_resource(output_resource)->output;
struct weston_buffer *buffer =
struct weston_output *output =
weston_head_from_resource(output_resource)->output;
struct weston_buffer *buffer =
- weston_buffer_from_resource(buffer_resource);
+ weston_buffer_from_resource(
output->compositor,
buffer_resource);
if (buffer == NULL) {
wl_resource_post_no_memory(resource);
if (buffer == NULL) {
wl_resource_post_no_memory(resource);