mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 20:21:26 +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"
|
||||
|
||||
SystemCallbacks *sysCallbacks;
|
||||
double refreshfreq;
|
|
@ -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
|
||||
|
|
|
@ -136,7 +136,7 @@ extern bool AppActive;
|
|||
|
||||
int SessionState = 0;
|
||||
int BlockMouseMove;
|
||||
double refreshfreq;
|
||||
extern double refreshfreq;
|
||||
|
||||
static bool EventHandlerResultForNativeMouse;
|
||||
|
||||
|
|
Loading…
Reference in a new issue