Skip to content

Commit

Permalink
Make the -nodraw flag implicitly cause -nogl to be set (should fix CI).
Browse files Browse the repository at this point in the history
  • Loading branch information
JROB774 committed Jan 11, 2024
1 parent 402bc4b commit d39aeac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/i_video.c
Original file line number Diff line number Diff line change
Expand Up @@ -1311,10 +1311,10 @@ void I_GraphicsCheckCommandLine(void)
//!
// @category video
//
// Disable OpenGL.
// Disable OpenGL rendering.
//

nogl = M_CheckParm ("-nogl");
nogl = M_CheckParm ("-nogl") || M_CheckParm ("-nodraw"); // The nodraw command also implictly invokes nogl.

//!
// @category video
Expand Down

0 comments on commit d39aeac

Please sign in to comment.