mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-01-06 12:00:23 +01:00
compositor: Pass NULL for context to wayland buffer eglCreateImageKHR()
This commit is contained in:
parent
ee72482a00
commit
df2f197076
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue