Remove the usage of the undefined vnc_enabled variable, fixes #4961.
This commit is contained in:
@@ -396,7 +396,7 @@ main(int argc, char *argv[])
|
|||||||
|
|
||||||
/* Set the PAUSE mode depending on the renderer. */
|
/* Set the PAUSE mode depending on the renderer. */
|
||||||
#ifdef USE_VNC
|
#ifdef USE_VNC
|
||||||
if (vnc_enabled && vid_api != 5)
|
if (vid_api == 5)
|
||||||
plat_pause(1);
|
plat_pause(1);
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user