wscreensaver: Use the argb config, rgb is not compatible with window.c
Fixes the config/surface mismatch, spotted by Scott Moreau.
This commit is contained in:
@@ -268,7 +268,7 @@ init_wscreensaver(struct wscreensaver *wscr, struct display *display)
|
|||||||
}
|
}
|
||||||
|
|
||||||
eglBindAPI(EGL_OPENGL_API);
|
eglBindAPI(EGL_OPENGL_API);
|
||||||
wscr->egl.config = display_get_rgb_egl_config(wscr->display);
|
wscr->egl.config = display_get_argb_egl_config(wscr->display);
|
||||||
|
|
||||||
if (demo_mode) {
|
if (demo_mode) {
|
||||||
struct wl_output *o =
|
struct wl_output *o =
|
||||||
|
|||||||
Reference in New Issue
Block a user