Updated to SDK 1.0.8

This commit is contained in:
saschawillems 2016-04-09 14:20:57 +02:00
parent fce71d87d3
commit a6a327efe6
5 changed files with 95 additions and 55 deletions

View file

@ -16,9 +16,7 @@ VkResult VulkanExampleBase::createInstance(bool enableValidation)
appInfo.sType = VK_STRUCTURE_TYPE_APPLICATION_INFO;
appInfo.pApplicationName = name.c_str();
appInfo.pEngineName = name.c_str();
// Temporary workaround for drivers not supporting SDK 1.0.3 upon launch
// todo : Use VK_API_VERSION
appInfo.apiVersion = VK_MAKE_VERSION(1, 0, 2);
appInfo.apiVersion = VK_API_VERSION_1_0;
std::vector<const char*> enabledExtensions = { VK_KHR_SURFACE_EXTENSION_NAME };