- moved refreshfreq variable to a common place.

This commit is contained in:
Christoph Oelckers 2020-04-22 22:32:24 +02:00
parent 6934aebbe6
commit 3961f708fe
3 changed files with 3 additions and 2 deletions

View file

@ -1,3 +1,4 @@
#include "i_interface.h"
SystemCallbacks *sysCallbacks;
double refreshfreq;

View file

@ -139,7 +139,7 @@ void I_InitGraphics ()
else
#endif
#ifdef HAVE_VULKAN
else if (vid_preferbackend == 1)
if (vid_preferbackend == 1)
{
// first try Vulkan, if that fails OpenGL
try

View file

@ -136,7 +136,7 @@ extern bool AppActive;
int SessionState = 0;
int BlockMouseMove;
double refreshfreq;
extern double refreshfreq;
static bool EventHandlerResultForNativeMouse;