mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Move SHADER_DIR_INIT to end of video driver init function
This commit is contained in:
parent
826ca302ca
commit
fbead501f3
@ -947,7 +947,6 @@ static bool video_driver_init_internal(bool *video_is_threaded)
|
||||
if (!string_is_empty(settings->paths.path_softfilter_plugin))
|
||||
video_driver_init_filter(video_driver_pix_fmt);
|
||||
|
||||
command_event(CMD_EVENT_SHADER_DIR_INIT, NULL);
|
||||
|
||||
max_dim = MAX(geom->max_width, geom->max_height);
|
||||
scale = next_pow2(max_dim) / RARCH_SCALE_BASE;
|
||||
@ -1112,6 +1111,8 @@ static bool video_driver_init_internal(bool *video_is_threaded)
|
||||
|
||||
video_display_server_init();
|
||||
|
||||
command_event(CMD_EVENT_SHADER_DIR_INIT, NULL);
|
||||
|
||||
return true;
|
||||
|
||||
error:
|
||||
|
Loading…
x
Reference in New Issue
Block a user