win-capture: Fix 32-bit Vulkan capture
Vulkan loader needs pure name, which needs manual fix-up on 32-bit.
This commit is contained in:
parent
87915489b4
commit
7772a56a97
@ -1580,6 +1580,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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user