mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 10:10:57 +00:00
(shader_glsl.c) Continue with iteration if pass is NULL
This commit is contained in:
parent
b5416e4041
commit
764a4319a0
@ -431,6 +431,9 @@ static bool gl_glsl_compile_programs(
|
||||
struct video_shader_pass *pass = (struct video_shader_pass*)
|
||||
&glsl->shader->pass[i];
|
||||
|
||||
if (!pass)
|
||||
continue;
|
||||
|
||||
/* If we load from GLSLP (CGP),
|
||||
* load the file here, and pretend
|
||||
* we were really using XML all along.
|
||||
|
Loading…
Reference in New Issue
Block a user