GL module

gl_enable_debug_output

proceduresince 0.31.0Source

Logs the driver's debug messages through the context logger. With break_on_error, an error stops the program at the call that caused it. Does nothing when the driver has no debug output.

Example↗
gl_enable_debug_output(break_on_error = true);

This one is only checked to compile, not run.

gl_enable_debug_output :: (break_on_error: bool = false)

Parameters

break_on_error: bool = false

See also