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

Commit 1513274c 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: I4a6c743b989eb986f14933aa0181a304c3cc5c12
parents a6182907 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);