Even though Win32 only has one windowing system, it is supported

* Generic code may be looking for the supported window systems even on windows.
This commit is contained in:
baldurk
2020-01-10 14:59:14 +00:00
parent b450b3ff29
commit dd6e409bb6
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -163,6 +163,8 @@ rdcarray<WindowingSystem> GLReplay::GetSupportedWindowSystems()
ret.push_back(WindowingSystem::Android);
#elif ENABLED(RDOC_APPLE)
ret.push_back(WindowingSystem::MacOS);
#elif ENABLED(RDOC_WIN32)
ret.push_back(WindowingSystem::Win32);
#endif
return ret;
+2
View File
@@ -109,6 +109,8 @@ void WrappedVulkan::AddRequiredExtensions(bool instance, rdcarray<rdcstr> &exten
}
else
{
m_SupportedWindowSystems.push_back(WindowingSystem::Win32);
if(!extensionList.contains(VK_KHR_WIN32_SURFACE_EXTENSION_NAME))
extensionList.push_back(VK_KHR_WIN32_SURFACE_EXTENSION_NAME);
}