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

Commit 260d9625 authored by Yiwei Zhang's avatar Yiwei Zhang
Browse files

Remove unused egl_connection_t::angleDecided

Test: build
Change-Id: I81b7546cedd2925286b06d7805a1c85b5ab2e459
parent 89a0e5d2
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -318,7 +318,6 @@ void Loader::close(egl_connection_t* cnx)
    cnx->dso = nullptr;

    cnx->shouldUseAngle = false;
    cnx->angleDecided = false;
    cnx->useAngle = false;

    if (cnx->vendorEGL) {
@@ -569,7 +568,6 @@ static void* load_angle(const char* kind, android_namespace_t* ns, egl_connectio
            android::GraphicsEnv::getInstance().getAngleAppName().c_str());
        cnx->useAngle = false;
    }
    cnx->angleDecided = true;

    return so;
}
+0 −1
Original line number Diff line number Diff line
@@ -82,7 +82,6 @@ struct egl_connection_t {

    bool                systemDriverUnloaded;
    bool                shouldUseAngle; // Should we attempt to load ANGLE
    bool                angleDecided;   // Have we tried to load ANGLE
    bool                useAngle;       // Was ANGLE successfully loaded
    EGLint              angleBackend;
    void*               vendorEGL;