Rémi Bernon (@rbernon) commented about dlls/winewayland.drv/opengl.c:
- struct wayland_gl_drawable *release[2];
- int i;
- draw_gl = wayland_gl_drawable_get(draw_hwnd);
- read_gl = wayland_gl_drawable_get(read_hwnd);
- TRACE("%p/%p context %p surface %p/%p\n",
draw_hwnd, read_hwnd, ctx->context,
draw_gl ? draw_gl->surface : NULL,
read_gl ? read_gl->surface : NULL);
- pthread_mutex_lock(&gl_object_mutex);
- ret = p_eglMakeCurrent(egl_display,
draw_gl ? draw_gl->surface : NULL,
read_gl ? read_gl->surface : NULL,
Maybe this should be EGL_NO_SURFACE instead of NULL?