diff --git a/src/win32/hardware.cpp b/src/win32/hardware.cpp index d9de96566..e67d11842 100644 --- a/src/win32/hardware.cpp +++ b/src/win32/hardware.cpp @@ -75,7 +75,7 @@ bool changerenderer; // Software OpenGL canvas CUSTOM_CVAR(Bool, vid_used3d, true, CVAR_ARCHIVE | CVAR_GLOBALCONFIG | CVAR_NOINITCALL) { - if (self != currentcanvas) + if ((self ? 1 : 0) != currentcanvas) Printf("You must restart " GAMENAME " for this change to take effect.\n"); }