readme: add missing variable decl in example

This commit is contained in:
Simon Ser 2019-09-26 10:43:05 +03:00
parent de7a7fe5f9
commit dd0e550a99
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -22,6 +22,7 @@ struct liftoff_display *display;
struct liftoff_output *output; struct liftoff_output *output;
struct liftoff_layer *layer; struct liftoff_layer *layer;
drmModeAtomicReq *req; drmModeAtomicReq *req;
int ret;
display = liftoff_display_create(drm_fd); display = liftoff_display_create(drm_fd);
output = liftoff_output_create(display, crtc_id); output = liftoff_output_create(display, crtc_id);