Linux Compiler fix HAVE_MIXERX cvars

This commit is contained in:
mazmazz 2018-09-02 08:15:55 -04:00
parent 7fbe97a3d2
commit bb1af344ee

View file

@ -688,9 +688,11 @@ void D_RegisterClientCommands(void)
COM_AddCommand("tunes", Command_Tunes_f); COM_AddCommand("tunes", Command_Tunes_f);
COM_AddCommand("restartaudio", Command_RestartAudio_f); COM_AddCommand("restartaudio", Command_RestartAudio_f);
CV_RegisterVar(&cv_resetmusic); CV_RegisterVar(&cv_resetmusic);
#ifdef HAVE_MIXERX
CV_RegisterVar(&cv_midiplayer); CV_RegisterVar(&cv_midiplayer);
CV_RegisterVar(&cv_midisoundfontpath); CV_RegisterVar(&cv_midisoundfontpath);
CV_RegisterVar(&cv_miditimiditypath); CV_RegisterVar(&cv_miditimiditypath);
#endif
// FIXME: not to be here.. but needs be done for config loading // FIXME: not to be here.. but needs be done for config loading
CV_RegisterVar(&cv_globalgamma); CV_RegisterVar(&cv_globalgamma);