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

Commit 4856068a authored by Brad McKee's avatar Brad McKee Committed by Android (Google) Code Review
Browse files

Merge "Add eglErrorCode to eglInitialize fatal" into sc-dev

parents f933d3c8 933e96bf
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);