mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-17 01:31:25 +00:00
- moved refreshfreq variable to a common place.
This commit is contained in:
parent
6934aebbe6
commit
3961f708fe
3 changed files with 3 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
||||||
#include "i_interface.h"
|
#include "i_interface.h"
|
||||||
|
|
||||||
SystemCallbacks *sysCallbacks;
|
SystemCallbacks *sysCallbacks;
|
||||||
|
double refreshfreq;
|
|
@ -139,7 +139,7 @@ void I_InitGraphics ()
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_VULKAN
|
#ifdef HAVE_VULKAN
|
||||||
else if (vid_preferbackend == 1)
|
if (vid_preferbackend == 1)
|
||||||
{
|
{
|
||||||
// first try Vulkan, if that fails OpenGL
|
// first try Vulkan, if that fails OpenGL
|
||||||
try
|
try
|
||||||
|
|
|
@ -136,7 +136,7 @@ extern bool AppActive;
|
||||||
|
|
||||||
int SessionState = 0;
|
int SessionState = 0;
|
||||||
int BlockMouseMove;
|
int BlockMouseMove;
|
||||||
double refreshfreq;
|
extern double refreshfreq;
|
||||||
|
|
||||||
static bool EventHandlerResultForNativeMouse;
|
static bool EventHandlerResultForNativeMouse;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue