Removed unused Android code
This commit is contained in:
parent
9c029b36fa
commit
14536c6ec7
2 changed files with 0 additions and 17 deletions
|
|
@ -938,21 +938,6 @@ bool VulkanExampleBase::initVulkan()
|
|||
submitInfo.signalSemaphoreCount = 1;
|
||||
submitInfo.pSignalSemaphores = &semaphores.renderComplete;
|
||||
|
||||
#if defined(VK_USE_PLATFORM_ANDROID_KHR)
|
||||
// Get Android device name and manufacturer (to display along GPU name)
|
||||
androidProduct = "";
|
||||
char prop[PROP_VALUE_MAX+1];
|
||||
int len = __system_property_get("ro.product.manufacturer", prop);
|
||||
if (len > 0) {
|
||||
androidProduct += std::string(prop) + " ";
|
||||
};
|
||||
len = __system_property_get("ro.product.model", prop);
|
||||
if (len > 0) {
|
||||
androidProduct += std::string(prop);
|
||||
};
|
||||
LOGD("androidProduct = %s", androidProduct.c_str());
|
||||
#endif
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue