compositor: Pass NULL for context to wayland buffer eglCreateImageKHR()
This commit is contained in:
parent
ee72482a00
commit
df2f197076
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user