diff options
author | emersion <contact@emersion.fr> | 2017-10-22 22:21:23 +0200 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-10-22 22:21:23 +0200 |
commit | e1d213fccdae068ecc0f11f4321dfd6528163253 (patch) | |
tree | 85a056f626277e0e00cd5cbb0b99f8cb531934e8 /examples | |
parent | c5fff08f8a63b37ceb42e15641a14384efd163d2 (diff) |
Create globals only for enabled outputs in DRM backend
Diffstat (limited to 'examples')
-rw-r--r-- | examples/screenshot.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/screenshot.c b/examples/screenshot.c index 95af49ca..2a3b74aa 100644 --- a/examples/screenshot.c +++ b/examples/screenshot.c @@ -267,10 +267,6 @@ int main(int argc, char *argv[]) { struct screenshooter_output *output; wl_list_for_each(output, &output_list, link) { - if (output->width == 0 || output->height == 0) { - continue; - } - output->buffer = create_shm_buffer(output->width, output->height, &output->data); if (output->buffer == NULL) { return -1; |