Revert "If g_defaults.settings.video_threaded_enable is set to true,"

This reverts commit 9765ceba32.
This commit is contained in:
twinaphex 2015-11-01 14:41:48 +01:00
parent 9765ceba32
commit 8411cc75a0

View File

@ -483,6 +483,8 @@ static void config_set_defaults(void)
settings->video.threaded = video_threaded;
settings->bundle_assets_extract_enable = bundle_assets_extract_enable;
if (g_defaults.settings.video_threaded_enable != video_threaded)
settings->video.threaded = g_defaults.settings.video_threaded_enable;
#ifdef HAVE_THREADS
settings->threaded_data_runloop_enable = threaded_data_runloop_enable;
@ -747,9 +749,6 @@ static void config_set_defaults(void)
global->console.sound.mode = SOUND_MODE_NORMAL;
#endif
if (g_defaults.settings.video_threaded_enable)
settings->video.threaded = g_defaults.settings.video_threaded_enable;
if (*g_defaults.path.buildbot_server_url)
strlcpy(settings->network.buildbot_url,
g_defaults.path.buildbot_server_url, sizeof(settings->network.buildbot_url));