Examples: imgui_impl_opengl3: Fix empty printout on shader load. (#2584)
Examples: imgui_impl_opengl3: Fix empty printout on shader load. (#2584)

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.
bkaradzic/imgui,cmaughan/imgui,ocornut/imgui,ggtucker/imgui,bkaradzic/imgui,ggtucker/imgui,Flix01/imgui,aimotive/imgui-glfw,cmaughan/imgui,aimotive/imgui-glfw,ggtucker/imgui,burningreggae/imgui,Flix01/imgui,Flix01/imgui,cmaughan/imgui,bkaradzic/imgui,cmaughan/imgui,burningreggae/imgui,ocornut/imgui,nProtect/imgui,ocornut/imgui,nProtect/imgui,dougbinks/imgui,nProtect/imgui,dougbinks/imgui