From 704964be33d737c44e6154fde410b363df161e73 Mon Sep 17 00:00:00 2001 From: MediaPipe Team Date: Mon, 9 Jan 2023 14:03:42 -0800 Subject: [PATCH] Fix accidental suppressions of GLSL linker error reporting PiperOrigin-RevId: 500802177 --- mediapipe/gpu/shader_util.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);