- fix compile on non-Windows targets

This commit is contained in:
Rachael Alexanderson 2018-05-17 17:47:42 -04:00
parent 872cd529c7
commit 781cc62f89
2 changed files with 10 additions and 0 deletions

View File

@ -63,6 +63,10 @@ EXTERN_CVAR(Int, vid_defheight)
EXTERN_CVAR(Bool, vid_vsync )
EXTERN_CVAR(Bool, fullscreen )
CVAR(Bool, vr_enable_quadbuffered, false, CVAR_NOSET)
/* this is to fix compile on non-Windows platforms because this code is only
used on Windows, anyhow, but references to it exist elsewhere in the code */
// ---------------------------------------------------------------------------

View File

@ -72,6 +72,12 @@ EXTERN_CVAR (Bool, cl_capfps)
DFrameBuffer *CreateGLSWFrameBuffer(int width, int height, bool bgra, bool fullscreen);
// DUMMY DATA DEFINITIONS --------------------------------------------------
CVAR(Bool, vr_enable_quadbuffered, false, CVAR_NOSET)
/* this is to fix compile on non-Windows platforms because this code is only
used on Windows, anyhow, but references to it exist elsewhere in the code */
// PUBLIC DATA DEFINITIONS -------------------------------------------------
CUSTOM_CVAR(Bool, gl_debug, false, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOINITCALL)