Merge change 2152 into donut
* changes: make sure to fail to software when the h/w renderer cannot be initialized
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user