Mark nvapi_QueryInterface as cdecl

Shouldn't matter on x64 since everything is fastcall here, but cdecl is
the correct declaration.
This commit is contained in:
ns6089 2023-08-13 11:24:58 +03:00 committed by Cameron Gutman
parent 68fa43a61c
commit 6c5fa8a08d

View File

@ -24,8 +24,7 @@ namespace {
#undef NVAPI_INTERFACE
#define NVAPI_INTERFACE NvAPI_Status __cdecl
extern void *
nvapi_QueryInterface(NvU32 id);
extern void *__cdecl nvapi_QueryInterface(NvU32 id);
NVAPI_INTERFACE
NvAPI_Initialize() {