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:
Wolfgang Wiedmeyer 2016-06-22 18:30:28 +02:00
parent 54c95b1a83
commit f05fa984af
No known key found for this signature in database
GPG Key ID: 5816A24C10757FC4

View File

@ -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;