mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 04:41:23 +00:00
Correctly disable OGL-only menus/options in software.
This commit is contained in:
parent
34baa5ae74
commit
b8446effe8
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue