From df2f197076311ee97efea0a201d421dd46b95dc4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Thu, 21 Apr 2011 23:48:13 -0400 Subject: [PATCH] compositor: Pass NULL for context to wayland buffer eglCreateImageKHR() --- compositor/compositor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.7.4