diff --git a/src/m_menu.c b/src/m_menu.c index 787e91f0005ea706bf397498aa7856c7622380db..6a1a3ade9c4db441dcbac2490552925612c133fd 100644 --- a/src/m_menu.c +++ b/src/m_menu.c @@ -1405,23 +1405,24 @@ static menuitem_t OP_OpenGLOptionsMenu[] = {IT_STRING|IT_CVAR, NULL, "Frame interpolation", NULL, &cv_glmodelinterpolation, 22}, {IT_STRING|IT_CVAR, NULL, "Ambient lighting", NULL, &cv_glmodellighting, 32}, - {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, "Lack of perspective", &cv_glshearing, 83}, - {IT_STRING | IT_CVAR, NULL, "Min Shader Brightness", &cv_glsecbright, 93}, - - {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}, - {IT_STRING|IT_CVAR, NULL, "Render Distance", &cv_glrenderdistance, 154}, + {IT_HEADER, NULL, "General", NULL, NULL, 51}, + {IT_STRING|IT_CVAR, NULL, "Shaders", NULL, &cv_glshaders, 63}, + {IT_STRING|IT_CVAR, NULL, "Palette rendering", NULL, &cv_glpaletterendering, 73}, + {IT_STRING|IT_CVAR, NULL, "Lack of perspective", NULL, &cv_glshearing, 83}, + {IT_STRING | IT_CVAR, NULL, "Min Shader Brightness", NULL, &cv_glsecbright, 93}, + + {IT_HEADER, NULL, "Miscellaneous", NULL, NULL, 112}, + {IT_STRING|IT_CVAR, NULL, "Bit depth", NULL, &cv_scr_depth, 124}, + {IT_STRING|IT_CVAR, NULL, "Texture filter", NULL, &cv_glfiltermode, 134}, + {IT_STRING|IT_CVAR, NULL, "Anisotropic", NULL, &cv_glanisotropicmode, 144}, + {IT_STRING|IT_CVAR, NULL, "Render distance", NULL, &cv_glrenderdistance, 154}, #ifdef ALAM_LIGHTING - {IT_SUBMENU|IT_STRING, NULL, "Lighting...", &OP_OpenGLLightingDef, 164}, + {IT_SUBMENU|IT_STRING, NULL, "Lighting...", NULL, &OP_OpenGLLightingDef, 164}, #endif #if defined (_WINDOWS) && (!(defined (__unix__) || defined (UNIXCOMMON) || defined (HAVE_SDL))) - {IT_STRING|IT_CVAR, NULL, "Fullscreen", &cv_fullscreen, 174}, + {IT_STRING|IT_CVAR, NULL, "Fullscreen", NULL, &cv_fullscreen, 174}, #endif + }; #ifdef ALAM_LIGHTING