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

Commit 7d6b741b authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 2152 into donut

* changes:
  make sure to fail to software when the h/w renderer cannot be initialized
parents b3271c82 5c846bd6
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -118,6 +118,11 @@ request_gpu_t* gpu_acquire(void* user)
        return 0;
    }

    if (info.regs == 0) {
        LOGD("requestGPU() failed");
        return 0;
    }

    bool failed = false;
    request_gpu_t* gpu = &gRegions;
    memset(gpu, 0, sizeof(*gpu));