Add a separate build option for the OpenGL renderer

This commit is contained in:
Alexander Babikov
2021-04-26 02:45:20 +05:00
parent b1fb9def6e
commit b4a16437d3
9 changed files with 33 additions and 14 deletions

View File

@@ -66,7 +66,7 @@ BEGIN
MENUITEM "&SDL (Software)", IDM_VID_SDL_SW
MENUITEM "SDL (&Hardware)", IDM_VID_SDL_HW
MENUITEM "SDL (&OpenGL)", IDM_VID_SDL_OPENGL
#ifdef DEV_BRANCH /* feature-opengl */
#if defined(DEV_BRANCH) && defined(USE_OPENGL)
MENUITEM "Open&GL (3.3 Core)", IDM_VID_OPENGL_CORE
#endif
#ifdef USE_VNC
@@ -237,7 +237,7 @@ BEGIN
END
END
#ifdef DEV_BRANCH /* feature-opengl */
#if defined(DEV_BRANCH) && defined(USE_OPENGL)
VidGLSubMenu MENU DISCARDABLE
BEGIN
POPUP "Target &framerate"