mirror of
https://github.com/libretro/RetroArch
synced 2024-12-29 12:31:05 +00:00
update gx2_gfx to use retroarch_get_shader_preset()
This commit is contained in:
parent
e9b7c7267e
commit
30353792a5
@ -23,6 +23,7 @@
|
||||
#include "../../driver.h"
|
||||
#include "../../configuration.h"
|
||||
#include "../../verbosity.h"
|
||||
#include "../../retroarch.h"
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "../../config.h"
|
||||
@ -446,7 +447,7 @@ static void *wiiu_gfx_init(const video_info_t *video,
|
||||
|
||||
if(settings->bools.video_shader_enable)
|
||||
{
|
||||
const char* ext = path_get_extension(settings->paths.path_shader);
|
||||
const char* ext = retroarch_get_shader_preset();
|
||||
|
||||
if(ext && !strncmp(ext, "slang", 5))
|
||||
wiiu_gfx_set_shader(wiiu, RARCH_SHADER_SLANG, settings->paths.path_shader);
|
||||
|
Loading…
Reference in New Issue
Block a user