compositor: Pass NULL for context to wayland buffer eglCreateImageKHR()

dev
Kristian Høgsberg 14 years ago
parent ee72482a00
commit df2f197076
  1. 2
      compositor/compositor.c

@ -296,7 +296,7 @@ wlsc_buffer_attach(struct wl_buffer *buffer, struct wl_surface *surface)
if (buffer->attach) { if (buffer->attach) {
buffer->attach(buffer, surface); buffer->attach(buffer, surface);
} else { } else {
es->image = eglCreateImageKHR(ec->display, ec->context, es->image = eglCreateImageKHR(ec->display, NULL,
EGL_WAYLAND_BUFFER_WL, EGL_WAYLAND_BUFFER_WL,
buffer, NULL); buffer, NULL);

Loading…
Cancel
Save