memononen/nanovg — pull request #155 by floooh (2014-08-30 11:42:27+00:00)
Title: Allow more control when glGetError is called, and don't call when NDEBUG is defined

Proposed solution for issue #150 , I am assuming that NDEBUG is the universal convention for "release mode with optimizations" and define glnvg__checkError as (0) if set, additionally allow to override this behaviour with a force-on and force-off flag.