diff --git a/src/RenderDevice/Vulkan/POD/VKTextureLoader.cpp b/src/RenderDevice/Vulkan/POD/VKTextureLoader.cpp index b7519715..459d2556 100644 --- a/src/RenderDevice/Vulkan/POD/VKTextureLoader.cpp +++ b/src/RenderDevice/Vulkan/POD/VKTextureLoader.cpp @@ -1,4 +1,4 @@ -#include +#include #include #include #include diff --git a/src/RenderDevice/Vulkan/VKDeviceCreater.cpp b/src/RenderDevice/Vulkan/VKDeviceCreater.cpp index fb57c75c..401dd9af 100644 --- a/src/RenderDevice/Vulkan/VKDeviceCreater.cpp +++ b/src/RenderDevice/Vulkan/VKDeviceCreater.cpp @@ -352,8 +352,8 @@ Device *CreateRenderDevice(VkInstance inst,const PhysicalDevice *physical_device { const VkDriverIdKHR driver_id=physical_device->GetDriverId(); - if(driver_id>=VK_DRIVER_ID_BEGIN_RANGE_KHR - &&driver_id<=VK_DRIVER_ID_END_RANGE_KHR) + if(driver_id>=VK_DRIVER_ID_BEGIN_RANGE + &&driver_id<=VK_DRIVER_ID_END_RANGE) { std::cout<<"DriverID: "<GetDriverId()<GetDriverName()<