MCPcopy Create free account
hub / github.com/PacktPublishing/3D-Graphics-Rendering-Cookbook / initDebug

Function initDebug

shared/debug.h:47–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47void initDebug()
48{
49 glDebugMessageCallback( message_callback, nullptr );
50 glEnable( GL_DEBUG_OUTPUT );
51 glEnable( GL_DEBUG_OUTPUT_SYNCHRONOUS );
52 glDebugMessageControl( GL_DONT_CARE, GL_DONT_CARE, GL_DEBUG_SEVERITY_NOTIFICATION, 0, nullptr, GL_FALSE );
53};

Callers 5

mainFunction · 0.85
mainFunction · 0.85
GLAppMethod · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected