From b8446effe81220abe87505acb9a4ebf1c12ad7a9 Mon Sep 17 00:00:00 2001 From: toaster Date: Sun, 4 Nov 2018 14:41:24 +0000 Subject: [PATCH] Correctly disable OGL-only menus/options in software. --- src/m_menu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/m_menu.c b/src/m_menu.c index 5dc09a83..659a2ce7 100644 --- a/src/m_menu.c +++ b/src/m_menu.c @@ -1261,6 +1261,7 @@ enum op_video_fps, op_video_vsync, #ifdef HWRENDER + op_video_md2, op_video_ogl, #endif }; @@ -3140,7 +3141,7 @@ void M_Init(void) #ifdef HWRENDER // Permanently hide some options based on render mode if (rendermode == render_soft) - OP_VideoOptionsMenu[op_video_ogl].status = IT_DISABLED; + OP_VideoOptionsMenu[op_video_ogl].status = OP_VideoOptionsMenu[op_video_md2].status = IT_DISABLED; #endif #ifndef NONET