set_debug_enabled


Description:

public void set_debug_enabled (bool enabled)

Sets whether the GLContext should perform extra validations and run time checking.

This is useful during development, but has additional overhead.

The GLContext must not be realized or made current prior to calling this function.

Parameters:

this

a GLContext

enabled

whether to enable debugging in the context