(OSX) Set default shader dir to 'shaders_cg' if HAVE_CG is defined

This commit is contained in:
Twinaphex 2015-03-13 03:49:42 +01:00
parent 49f9fbd00c
commit b5b6435ab9

View File

@ -73,7 +73,9 @@ static void frontend_apple_get_environment_settings(int *argc, char *argv[],
fill_pathname_join(g_defaults.shader_dir, home_dir_buf, "shaders_glsl", sizeof(g_defaults.shader_dir));
#if defined(OSX)
#ifdef HAVE_CG
fill_pathname_join(g_defaults.shader_dir, home_dir_buf, "shaders_cg", sizeof(g_defaults.shader_dir));
#endif
fill_pathname_join(g_defaults.audio_filter_dir, home_dir_buf, "audio_filters", sizeof(g_defaults.audio_filter_dir));
fill_pathname_join(g_defaults.video_filter_dir, home_dir_buf, "video_filters", sizeof(g_defaults.video_filter_dir));
#endif