obs-ffmpeg: Use correct calling convention on CreateDXGIFactory1

Closes #1740
This commit is contained in:
jasonlee
2019-03-12 14:13:01 +08:00
committed by Colin Edwards
parent 01b6672de5
commit 6039cbb938

View File

@@ -193,7 +193,7 @@ static bool is_blacklisted(const wchar_t *name)
return false;
}
typedef HRESULT (*create_dxgi_proc)(const IID *, IDXGIFactory1 **);
typedef HRESULT (WINAPI *create_dxgi_proc)(const IID *, IDXGIFactory1 **);
static bool nvenc_device_available(void)
{