GLContext.setDebugEnabled

void setDebugEnabled(bool enabled)

Sets whether the [gdk.glcontext.GLContext] should perform extra validations and runtime checking.

This is useful during development, but has additional overhead.

The [gdk.glcontext.GLContext] must not be realized or made current prior to calling this function.

Parameters

enabledwhether to enable debugging in the context