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

Commit 60ff9866 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 22222 into eclair

* changes:
  fix a bug in ComponentSizeChooser where it could pick a software EGLConfig instead of a better h/w one.
parents 7c9fea2e baca89c0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -224,12 +224,12 @@ void Loader::init_api(void* dso,

void *Loader::load_driver(const char* driver, gl_hooks_t* hooks, uint32_t mask)
{
    //LOGD("%s", driver);
    void* dso = dlopen(driver, RTLD_NOW | RTLD_LOCAL);
    LOGE_IF(!dso, "%s", dlerror());
    if (dso == 0)
        return 0;

    LOGD("loaded %s", driver);

    if (mask & EGL) {
        getProcAddress = (getProcAddressType)dlsym(dso, "eglGetProcAddress");