mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 15:22:15 +00:00
Fix warning C4805: '!=': unsafe mix of type 'bool' and type 'int' in operation
This commit is contained in:
parent
931d241056
commit
c9a9e93c66
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue