MCPcopy Create free account
hub / github.com/PlotJuggler/PlotJuggler / debugOutputRequested

Function debugOutputRequested

pj_scene3D/widgets/src/gl/debug.cpp:100–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98} // namespace
99
100bool debugOutputRequested() {
101#ifndef NDEBUG
102 return true;
103#else
104 return qEnvironmentVariableIntValue("PJ_GL_DEBUG") != 0;
105#endif
106}
107
108void installDebugCallback() {
109 if (!debugOutputRequested()) {

Callers 2

makeDefaultFormatFunction · 0.85
installDebugCallbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected