mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
examples: remove visual for EGL_PLATFORM_WAYLAND_EXT
The Wayland EGL platform doesn't have visuals.
This commit is contained in:
parent
adfb7cd35a
commit
9714638f3b
8 changed files with 8 additions and 16 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue