Fixing Android build error and warnings

This commit is contained in:
saschawillems 2016-05-20 20:21:06 +02:00
parent a7a1a8aed4
commit 96df99f1f2
2 changed files with 2 additions and 6 deletions

View file

@ -247,7 +247,7 @@ void VulkanExampleBase::prepare()
{
if (enableValidation)
{
vkDebug::setupDebugging(instance, VK_DEBUG_REPORT_ERROR_BIT_EXT | VK_DEBUG_REPORT_WARNING_BIT_EXT, NULL);
vkDebug::setupDebugging(instance, VK_DEBUG_REPORT_ERROR_BIT_EXT | VK_DEBUG_REPORT_WARNING_BIT_EXT, VK_NULL_HANDLE);
}
createCommandPool();
createSetupCommandBuffer();
@ -887,10 +887,6 @@ void VulkanExampleBase::initVulkan(bool enableValidation)
vkGetPhysicalDeviceProperties(physicalDevice, &deviceProperties);
vkGetPhysicalDeviceFeatures(physicalDevice, &deviceFeatures);
#if defined(__ANDROID__)
LOGD(deviceProperties.deviceName);
#endif
// Gather physical device memory properties
vkGetPhysicalDeviceMemoryProperties(physicalDevice, &deviceMemoryProperties);