diff options
author | GhostNaN <GhostNaN@protonmail.com> | 2020-08-07 13:00:03 -0400 |
---|---|---|
committer | GhostNaN <GhostNaN@protonmail.com> | 2020-08-07 13:00:03 -0400 |
commit | 7dfc09e08f3fda0699523d9f0d2d0868144b043f (patch) | |
tree | 51575df304ccb3841052485591824664a391db3a | |
parent | 238620504507eec74610aa01a0e933ecd3157860 (diff) |
This will help with hwdec
-rw-r--r-- | src/paper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/paper.c b/src/paper.c index 48b7507..beaa333 100644 --- a/src/paper.c +++ b/src/paper.c @@ -243,6 +243,7 @@ int paper_init(char* _monitor, char* video_path, int verbose, char* layer_name) // Have mpv render onto egl context mpv_render_param params[] = { + {MPV_RENDER_PARAM_WL_DISPLAY, wl}, {MPV_RENDER_PARAM_API_TYPE, MPV_RENDER_API_TYPE_OPENGL}, {MPV_RENDER_PARAM_OPENGL_INIT_PARAMS, &(mpv_opengl_init_params){ .get_proc_address = get_proc_address_mpv, |