diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-05-12 02:33:01 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-05-12 02:33:01 +0100 |
commit | 6768e46b200c63d758bd6e92bd500f3c754c3245 (patch) | |
tree | 47a0e90999cd8fc933301197f7104a94d567471c /NorthstarDedicatedTest/latencyflex.cpp | |
parent | 8a33725513d7dae6a0be3b8366976e17661d2e2e (diff) | |
download | NorthstarLauncher-6768e46b200c63d758bd6e92bd500f3c754c3245.tar.gz NorthstarLauncher-6768e46b200c63d758bd6e92bd500f3c754c3245.zip |
formatting changes
Diffstat (limited to 'NorthstarDedicatedTest/latencyflex.cpp')
-rw-r--r-- | NorthstarDedicatedTest/latencyflex.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/NorthstarDedicatedTest/latencyflex.cpp b/NorthstarDedicatedTest/latencyflex.cpp index a2c044cf..72fe297b 100644 --- a/NorthstarDedicatedTest/latencyflex.cpp +++ b/NorthstarDedicatedTest/latencyflex.cpp @@ -4,15 +4,14 @@ #include "hookutils.h" #include "convar.h" -typedef void (*OnRenderStartType)(); -OnRenderStartType OnRenderStart; - ConVar* Cvar_r_latencyflex; HMODULE m_lfxModule {}; typedef void (*PFN_winelfx_WaitAndBeginFrame)(); PFN_winelfx_WaitAndBeginFrame m_winelfx_WaitAndBeginFrame {}; +typedef void (*OnRenderStartType)(); +OnRenderStartType OnRenderStart; void OnRenderStartHook() { if (Cvar_r_latencyflex->GetInt()) |