aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/latencyflex.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-05-12 02:33:01 +0100
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-05-12 02:33:01 +0100
commit6768e46b200c63d758bd6e92bd500f3c754c3245 (patch)
tree47a0e90999cd8fc933301197f7104a94d567471c /NorthstarDedicatedTest/latencyflex.cpp
parent8a33725513d7dae6a0be3b8366976e17661d2e2e (diff)
downloadNorthstarLauncher-6768e46b200c63d758bd6e92bd500f3c754c3245.tar.gz
NorthstarLauncher-6768e46b200c63d758bd6e92bd500f3c754c3245.zip
formatting changes
Diffstat (limited to 'NorthstarDedicatedTest/latencyflex.cpp')
-rw-r--r--NorthstarDedicatedTest/latencyflex.cpp5
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())