openframeworks/openFrameworks — pull request #2956 by hardmanko (2014-04-30 17:00:45+00:00)
Title: ofGLReadyCallback() updated

Updated `ofGLReadyCallback()` to fix crash on check for GLSL version when the OpenGL context version is < 2.0. Upon reflection, the crash probably happens when a null pointer returned by `glGetString()` (due to an internal error) is dereferenced, not within `glGetString()`, but I haven't tested this possible cause.

fixes #2954