Acknowledge fallback models as an OGL option indeed

(You may also be able to actually read that code too.)
This commit is contained in:
James R 2019-05-22 22:45:32 -07:00
parent 59ca91a825
commit 05dde43423
1 changed files with 4 additions and 1 deletions

View File

@ -1270,6 +1270,7 @@ enum
op_video_vsync,
#ifdef HWRENDER
op_video_md2,
op_video_kartman,
op_video_ogl,
#endif
};
@ -3334,7 +3335,9 @@ void M_Init(void)
#ifdef HWRENDER
// Permanently hide some options based on render mode
if (rendermode == render_soft)
OP_VideoOptionsMenu[op_video_ogl].status = OP_VideoOptionsMenu[op_video_md2].status = IT_DISABLED;
OP_VideoOptionsMenu[op_video_ogl].status =
OP_VideoOptionsMenu[op_video_kartman].status =
OP_VideoOptionsMenu[op_video_md2] .status = IT_DISABLED;
#endif
#ifndef NONET