mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-25 21:51:09 +00:00
- fix compile on non-Windows targets
This commit is contained in:
parent
872cd529c7
commit
781cc62f89
2 changed files with 10 additions and 0 deletions
|
@ -63,6 +63,10 @@ EXTERN_CVAR(Int, vid_defheight)
|
||||||
EXTERN_CVAR(Bool, vid_vsync )
|
EXTERN_CVAR(Bool, vid_vsync )
|
||||||
EXTERN_CVAR(Bool, fullscreen )
|
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 */
|
||||||
|
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
|
@ -72,6 +72,12 @@ EXTERN_CVAR (Bool, cl_capfps)
|
||||||
|
|
||||||
DFrameBuffer *CreateGLSWFrameBuffer(int width, int height, bool bgra, bool fullscreen);
|
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 -------------------------------------------------
|
// PUBLIC DATA DEFINITIONS -------------------------------------------------
|
||||||
|
|
||||||
CUSTOM_CVAR(Bool, gl_debug, false, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOINITCALL)
|
CUSTOM_CVAR(Bool, gl_debug, false, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOINITCALL)
|
||||||
|
|
Loading…
Reference in a new issue