obs-ffmpeg: Use correct calling convention on CreateDXGIFactory1
Closes #1740
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user