Merge pull request #3149 from jpark37/vulkan-32bit

win-capture Fix 32-bit Vulkan capture
This commit is contained in:
Jim 2020-07-10 20:39:13 -07:00 committed by GitHub
commit 5728df6cef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1584,6 +1584,10 @@ static VkFunc VKAPI OBS_GetInstanceProcAddr(VkInstance inst, const char *name)
#undef GETPROCADDR
#ifndef _WIN64
#pragma comment(linker, "/EXPORT:OBS_Negotiate=_OBS_Negotiate@4")
#endif
EXPORT VkResult VKAPI OBS_Negotiate(VkNegotiateLayerInterface *nli)
{
if (nli->loaderLayerInterfaceVersion >= 2) {