Merge pull request #3149 from jpark37/vulkan-32bit
win-capture Fix 32-bit Vulkan capture
This commit is contained in:
commit
5728df6cef
@ -1584,6 +1584,10 @@ static VkFunc VKAPI OBS_GetInstanceProcAddr(VkInstance inst, const char *name)
|
|||||||
|
|
||||||
#undef GETPROCADDR
|
#undef GETPROCADDR
|
||||||
|
|
||||||
|
#ifndef _WIN64
|
||||||
|
#pragma comment(linker, "/EXPORT:OBS_Negotiate=_OBS_Negotiate@4")
|
||||||
|
#endif
|
||||||
|
|
||||||
EXPORT VkResult VKAPI OBS_Negotiate(VkNegotiateLayerInterface *nli)
|
EXPORT VkResult VKAPI OBS_Negotiate(VkNegotiateLayerInterface *nli)
|
||||||
{
|
{
|
||||||
if (nli->loaderLayerInterfaceVersion >= 2) {
|
if (nli->loaderLayerInterfaceVersion >= 2) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user