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 authored and Cameron Gutman committed 2023-08-13 07:01:09 -05:00
1 parent 68fa43a61c
commit 6c5fa8a08d
1 file changed
+1 -2
@@ -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() {