Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9fef5fb1 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix crash in presentation time implementation" into main am: 8dd89273 am: c22b18a1

parents 148cfafd c22b18a1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2141,6 +2141,10 @@ EGLBoolean eglPresentationTimeANDROIDImpl(EGLDisplay dpy, EGLSurface surface,
    }

    egl_surface_t const* const s = get_surface(surface);
    if (!s->getNativeWindow()) {
        setError(EGL_BAD_SURFACE, EGL_FALSE);
        return EGL_FALSE;
    }
    native_window_set_buffers_timestamp(s->getNativeWindow(), time);

    return EGL_TRUE;