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

Commit a0180993 authored by Bo Hu's avatar Bo Hu Committed by android-build-merger
Browse files

Merge "emulator: update EGL emulation library path"

am: 7e7457f2

Change-Id: I266fcafc3208813b29f79efc783644d7a746dfa8
parents 7cd89ffb 7e7457f2
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -327,17 +327,17 @@ static void* load_system_driver(const char* kind) {
            switch (emulationStatus) {
                case 0:
#if defined(__LP64__)
                    result = "/system/lib64/egl/libGLES_android.so";
                    result = "/vendor/lib64/egl/libGLES_android.so";
#else
                    result = "/system/lib/egl/libGLES_android.so";
                    result = "/vendor/lib/egl/libGLES_android.so";
#endif
                    return result;
                case 1:
                    // Use host-side OpenGL through the "emulation" library
#if defined(__LP64__)
                    result = std::string("/system/lib64/egl/lib") + kind + "_emulation.so";
                    result = std::string("/vendor/lib64/egl/lib") + kind + "_emulation.so";
#else
                    result = std::string("/system/lib/egl/lib") + kind + "_emulation.so";
                    result = std::string("/vendor/lib/egl/lib") + kind + "_emulation.so";
#endif
                    return result;
                default: