mirror of https://github.com/ocornut/imgui.git
Browse Source
Fixed minor bug in CheckShader and CheckProgram The log_length reported by glGetProgramiv(handle, GL_INFO_LOG_LENGTH, &log_length) will at least return 1, since the string delimiter is also counted. The old version would always print and empty string to stderr. This is annoying in the emscripten port, since it prints a red error message to the Javascript console. The new version fixes this behavior.pull/2431/merge
Mario Botsch
6 years ago
committed by
omar
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue