1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-18 20:52:10 +01:00

fix MSVC compile error with function pointer type declaration (#422)

This commit is contained in:
ZeroFault 2018-06-06 14:11:26 -06:00 committed by Philip Rebohle
parent e8ac81fe8a
commit b43060bec1

View File

@ -54,7 +54,7 @@ namespace dxvk {
vr::IVRCompositor* VrInstance::getCompositor() {
using GetGenericInterfaceProc =
void* VR_CALLTYPE (*)(const char*, vr::EVRInitError*);
void* (VR_CALLTYPE *)(const char*, vr::EVRInitError*);
// Locate the OpenVR DLL if loaded by the process
HMODULE ovrApi = ::GetModuleHandle("openvr_api.dll");