From a831494c433d14f4c47cb55cff2d7f08c5f40236 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Wed, 27 Dec 2023 23:39:01 +0100 Subject: [PATCH] NVIDIA: make vars static --- r5dev/geforce/reflex.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/r5dev/geforce/reflex.cpp b/r5dev/geforce/reflex.cpp index 1d868d43..0c7b88cb 100644 --- a/r5dev/geforce/reflex.cpp +++ b/r5dev/geforce/reflex.cpp @@ -10,11 +10,11 @@ static bool s_LowLatencySDKEnabled = false; // If false, the system will call 'NvAPI_D3D_SetSleepMode' to update the parameters. -bool s_ReflexModeInfoUpToDate = false; +static bool s_ReflexModeInfoUpToDate = false; // This is 'NVAPI_OK' If the call to 'NvAPI_D3D_SetSleepMode' was successful. // If not, the Low Latency SDK will not run. -NvAPI_Status s_ReflexModeUpdateStatus = NvAPI_Status::NVAPI_OK; +static NvAPI_Status s_ReflexModeUpdateStatus = NvAPI_Status::NVAPI_OK; //----------------------------------------------------------------------------- // Purpose: enable/disable low latency SDK