This commit is contained in:
twinaphex 2019-06-15 09:58:34 +02:00
parent f60306b232
commit fc62f7afaa

View File

@ -460,9 +460,8 @@ static bool gl_glsl_compile_programs(
if (!pass)
continue;
/* If we load from GLSLP (CGP),
* load the file here, and pretend
* we were really using XML all along.
/* If we load from GLSLP (preset),
* load the file here.
*/
if ( !string_is_empty(pass->source.path)
&& !gl_glsl_load_source_path(pass, pass->source.path))