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

This commit is contained in:
Kristian Høgsberg 2011-04-21 23:48:13 -04:00
parent ee72482a00
commit df2f197076

View File

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