Fix accidental suppressions of GLSL linker error reporting

PiperOrigin-RevId: 500802177
This commit is contained in:
MediaPipe Team
2023-01-09 14:05:47 -08:00
committed by Copybara-Service
parent 0831023114
commit 704964be33
+1 -1
View File
@@ -140,7 +140,7 @@ GLint GlhCreateProgram(const GLchar* vert_src, const GLchar* frag_src,
glBindAttribLocation(*program, attr_locations[i], attr_names[i]); glBindAttribLocation(*program, attr_locations[i], attr_names[i]);
} }
ok = GlhLinkProgram(*program); ok = GlhLinkProgram(*program, force_log_errors);
} }
if (vert_shader) glDeleteShader(vert_shader); if (vert_shader) glDeleteShader(vert_shader);