Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jp7677/dxvk-nvapi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvapi_gpu.cpp')
-rw-r--r--src/nvapi_gpu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvapi_gpu.cpp b/src/nvapi_gpu.cpp
index 91f0968..5f02734 100644
--- a/src/nvapi_gpu.cpp
+++ b/src/nvapi_gpu.cpp
@@ -479,7 +479,7 @@ extern "C" {
return HandleInvalidated(str::format(n, ": NVML available but current adapter is not NVML compatible"), alreadyLoggedHandleInvalidated);
nvmlPstates_t pState;
- auto result = adapter->GetNvmlPerformanceState(&pState);
+ auto result = adapter->GetNvmlDevicePerformanceState(&pState);
switch (result) {
case NVML_SUCCESS:
*pCurrentPstate = static_cast<NV_GPU_PERF_PSTATE_ID>(pState);