diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2011-04-21 23:48:13 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2011-04-21 23:48:57 -0400 |
commit | df2f197076311ee97efea0a201d421dd46b95dc4 (patch) | |
tree | 148d4ab951c00dbbb4f37fb0ea535cc7fdc247ae | |
parent | ee72482a0076a571b5068423a610d0b8c03b2b58 (diff) |
compositor: Pass NULL for context to wayland buffer eglCreateImageKHR()
-rw-r--r-- | compositor/compositor.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |