From: Kristian Høgsberg Date: Fri, 22 Apr 2011 03:48:13 +0000 (-0400) Subject: compositor: Pass NULL for context to wayland buffer eglCreateImageKHR() X-Git-Tag: 0.85.0~533 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=df2f197076311ee97efea0a201d421dd46b95dc4;p=profile%2Fivi%2Fweston.git compositor: Pass NULL for context to wayland buffer eglCreateImageKHR() --- diff --git a/compositor/compositor.c b/compositor/compositor.c index 338b0ea..8856b7e 100644 --- a/compositor/compositor.c +++ b/compositor/compositor.c @@ -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);