Remove the usage of the undefined vnc_enabled variable, fixes #4961.

This commit is contained in:
OBattler 2024-11-13 06:31:16 +01:00
parent 937c507bb9
commit f6d89766b0

View file

@ -396,7 +396,7 @@ main(int argc, char *argv[])
/* Set the PAUSE mode depending on the renderer. */
#ifdef USE_VNC
if (vnc_enabled && vid_api != 5)
if (vid_api == 5)
plat_pause(1);
else
#endif