mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Replace all instances of shader->init
This commit is contained in:
parent
3f6540dd58
commit
de555d6040
@ -2809,9 +2809,9 @@ static bool gl_set_shader(void *data,
|
||||
glBindTexture(GL_TEXTURE_2D, gl->texture[gl->tex_index]);
|
||||
#endif
|
||||
|
||||
if (!gl->shader->init(gl, path))
|
||||
if (!video_shader_driver_init(gl->shader, gl, path))
|
||||
{
|
||||
bool ret = gl->shader->init(gl, NULL);
|
||||
bool ret = video_shader_driver_init(gl->shader, gl, NULL);
|
||||
|
||||
RARCH_WARN("[GL]: Failed to set multipass shader. Falling back to stock.\n");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user