GLContext.setDebugEnabled

void setDebugEnabled(bool enabled)

Sets whether the #GdkGLContext should perform extra validations and run time checking. This is useful during development, but has additional overhead.

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

Parameters

enabledwhether to enable debugging in the context