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 committed 2019-05-22 23:15:46 -07:00
1 parent 59ca91a825
commit 05dde43423
1 file changed
+4 -1
+4 -1
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