From 99204a7aa88101517c35b75295107b0637ca75e8 Mon Sep 17 00:00:00 2001 From: Hannu Hanhi Date: Sun, 13 Jun 2021 16:57:06 +0300 Subject: [PATCH] Remove palette depth from menu --- src/m_menu.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/m_menu.c b/src/m_menu.c index 300cbcbc3..922883661 100644 --- a/src/m_menu.c +++ b/src/m_menu.c @@ -1444,19 +1444,18 @@ static menuitem_t OP_OpenGLOptionsMenu[] = {IT_HEADER, NULL, "General", NULL, 51}, {IT_STRING|IT_CVAR, NULL, "Shaders", &cv_glshaders, 63}, {IT_STRING|IT_CVAR, NULL, "Palette rendering", &cv_glpaletterendering, 73}, - {IT_STRING|IT_CVAR, NULL, "Palette bit depth", &cv_glpalettedepth, 83}, - {IT_STRING|IT_CVAR, NULL, "Lack of perspective", &cv_glshearing, 93}, - {IT_STRING|IT_CVAR, NULL, "Field of view", &cv_fov, 103}, + {IT_STRING|IT_CVAR, NULL, "Lack of perspective", &cv_glshearing, 83}, + {IT_STRING|IT_CVAR, NULL, "Field of view", &cv_fov, 93}, - {IT_HEADER, NULL, "Miscellaneous", NULL, 122}, - {IT_STRING|IT_CVAR, NULL, "Bit depth", &cv_scr_depth, 134}, - {IT_STRING|IT_CVAR, NULL, "Texture filter", &cv_glfiltermode, 144}, - {IT_STRING|IT_CVAR, NULL, "Anisotropic", &cv_glanisotropicmode, 154}, + {IT_HEADER, NULL, "Miscellaneous", NULL, 112}, + {IT_STRING|IT_CVAR, NULL, "Bit depth", &cv_scr_depth, 124}, + {IT_STRING|IT_CVAR, NULL, "Texture filter", &cv_glfiltermode, 134}, + {IT_STRING|IT_CVAR, NULL, "Anisotropic", &cv_glanisotropicmode, 144}, #ifdef ALAM_LIGHTING - {IT_SUBMENU|IT_STRING, NULL, "Lighting...", &OP_OpenGLLightingDef, 164}, + {IT_SUBMENU|IT_STRING, NULL, "Lighting...", &OP_OpenGLLightingDef, 154}, #endif #if defined (_WINDOWS) && (!((defined (__unix__) && !defined (MSDOS)) || defined (UNIXCOMMON) || defined (HAVE_SDL))) - {IT_STRING|IT_CVAR, NULL, "Fullscreen", &cv_fullscreen, 174}, + {IT_STRING|IT_CVAR, NULL, "Fullscreen", &cv_fullscreen, 164}, #endif };