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

Commit 1ddb1f99 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove unused egl_connection_t::angleDecided"

parents 2af0642b 260d9625
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;