load Android SW renderer only if libagl property is set
allows to use the sofwaregl property separately for llvmpipe Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
This commit is contained in:
parent
54c95b1a83
commit
f05fa984af
@ -87,7 +87,7 @@ checkGlesEmulationStatus(void)
|
||||
int result = -1;
|
||||
|
||||
/* Check first if the device does not support hardware rendering */
|
||||
property_get("ro.softwaregl",prop,"0");
|
||||
property_get("ro.libagl",prop,"0");
|
||||
if(atoi(prop) == 1)
|
||||
return 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user