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

Commit 54365ea8 authored by Brad McKee's avatar Brad McKee Committed by Automerger Merge Worker
Browse files

Merge "Add eglErrorCode to eglInitialize fatal" into sc-dev am: 4856068a

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/14412265

Change-Id: I991011f2b492e7fa5c39253406a7837d4d05e9a0
parents d0217ce4 4856068a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -249,7 +249,7 @@ std::unique_ptr<GLESRenderEngine> GLESRenderEngine::create(const RenderEngineCre
    // initialize EGL for the default display
    EGLDisplay display = eglGetDisplay(EGL_DEFAULT_DISPLAY);
    if (!eglInitialize(display, nullptr, nullptr)) {
        LOG_ALWAYS_FATAL("failed to initialize EGL");
        LOG_ALWAYS_FATAL("failed to initialize EGL. EGL error=0x%x", eglGetError());
    }

    const auto eglVersion = eglQueryString(display, EGL_VERSION);