examples: remove visual for EGL_PLATFORM_WAYLAND_EXT

The Wayland EGL platform doesn't have visuals.
This commit is contained in:
Simon Ser 2021-01-04 11:26:08 +01:00
parent adfb7cd35a
commit 9714638f3b
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
8 changed files with 8 additions and 16 deletions

View file

@ -443,8 +443,7 @@ int main(int argc, char **argv) {
e->egl = calloc(1, sizeof(struct wlr_egl));
e->width = e->height = 512;
wlr_egl_init(e->egl, EGL_PLATFORM_WAYLAND_EXT, display, NULL,
WL_SHM_FORMAT_ARGB8888);
wlr_egl_init(e->egl, EGL_PLATFORM_WAYLAND_EXT, display, NULL, 0);
/* Create the surface and xdg_toplevels, and set listeners */