From d39aeac61cd19896cff4c901650cd8a20825eb9f Mon Sep 17 00:00:00 2001 From: Joshua Robertson Date: Thu, 11 Jan 2024 02:09:35 +0000 Subject: [PATCH] Make the -nodraw flag implicitly cause -nogl to be set (should fix CI). --- src/i_video.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/i_video.c b/src/i_video.c index 793a5b5072..af900b9aef 100644 --- a/src/i_video.c +++ b/src/i_video.c @@ -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