compositor: Pass NULL for context to wayland buffer eglCreateImageKHR()
authorKristian Høgsberg <krh@bitplanet.net>
Fri, 22 Apr 2011 03:48:13 +0000 (23:48 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 22 Apr 2011 03:48:57 +0000 (23:48 -0400)
compositor/compositor.c

index 338b0ea..8856b7e 100644 (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);