mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +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*)
|
struct video_shader_pass *pass = (struct video_shader_pass*)
|
||||||
&glsl->shader->pass[i];
|
&glsl->shader->pass[i];
|
||||||
|
|
||||||
|
if (!pass)
|
||||||
|
continue;
|
||||||
|
|
||||||
/* If we load from GLSLP (CGP),
|
/* If we load from GLSLP (CGP),
|
||||||
* load the file here, and pretend
|
* load the file here, and pretend
|
||||||
* we were really using XML all along.
|
* we were really using XML all along.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user