Skip to content

Commit

Permalink
Make IsOpenGL() take gl_nogl into account
Browse files Browse the repository at this point in the history
  • Loading branch information
Korshun committed Aug 5, 2016
1 parent 575f9c3 commit ca0048e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/acszdoom.acs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function int StatusBarShown(void)

function bool IsOpenGL(void)
{
return GetCVar("vid_renderer");
return GetCVar("vid_renderer") && !GetCVar("gl_nogl");
}


Expand Down

0 comments on commit ca0048e

Please sign in to comment.