diff --git a/mediapipe/gpu/shader_util.cc b/mediapipe/gpu/shader_util.cc index 2132cbda9..5de7e24f5 100644 --- a/mediapipe/gpu/shader_util.cc +++ b/mediapipe/gpu/shader_util.cc @@ -140,7 +140,7 @@ GLint GlhCreateProgram(const GLchar* vert_src, const GLchar* frag_src, glBindAttribLocation(*program, attr_locations[i], attr_names[i]); } - ok = GlhLinkProgram(*program); + ok = GlhLinkProgram(*program, force_log_errors); } if (vert_shader) glDeleteShader(vert_shader);