Skip to content

egl: wl_egl_window is not wl_proxy

It seems that eglCreatePlatformWindowSurfaceEXT is failing (with EGL_BAD_ALLOC) because it thinks an EGL surface has already been created for the wl_egl_window. The reason is that the "driver_private" field of the wl_egl_window is getting clobbered by the function wl_proxy_set_queue().

Since a wl_egl_window is not a wl_proxy, it shouldn't be passed to wl_proxy_set_queue(). It just wraps a wl_surface (which is a wl_proxy). And it looks like the queue for that surface is getting set earlier on in the function anyway.

See #621 (comment 184582)

Merge request reports