diff options
author | Simon Ser <contact@emersion.fr> | 2020-04-06 13:27:05 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-04-22 22:40:54 +0200 |
commit | 6129a6f93e97680dfe7e983db2ee7671edb5ffbe (patch) | |
tree | 0c4873841587f434973382f2a551420e7230156d /include/backend | |
parent | 40513f1a0ec3cb2b2fdc4b0dbd4765d152ef76ce (diff) |
backend/headless: add wlr_headless_backend_create_with_renderer
This allows one to create a headless backend with an existing renderer.
Diffstat (limited to 'include/backend')
-rw-r--r-- | include/backend/headless.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/backend/headless.h b/include/backend/headless.h index d8cb4dc2..564cb154 100644 --- a/include/backend/headless.h +++ b/include/backend/headless.h @@ -9,7 +9,8 @@ struct wlr_headless_backend { struct wlr_backend backend; - struct wlr_egl egl; + struct wlr_egl priv_egl; // may be uninitialized + struct wlr_egl *egl; struct wlr_renderer *renderer; struct wl_display *display; struct wl_list outputs; |