diff --git a/clutter/wayland/clutter-backend-wayland.c b/clutter/wayland/clutter-backend-wayland.c index a08abdc21..2ad0fbdfe 100644 --- a/clutter/wayland/clutter-backend-wayland.c +++ b/clutter/wayland/clutter-backend-wayland.c @@ -310,8 +310,8 @@ try_create_context (ClutterBackend *backend, } if (!eglMakeCurrent (backend_wayland->edpy, - NULL, - NULL, + EGL_NO_SURFACE, + EGL_NO_SURFACE, backend_wayland->egl_context)) { g_set_error (error, CLUTTER_INIT_ERROR,