set_forward_compatible


Description:

[ Version ( since = "3.16" ) ]
public void set_forward_compatible (bool compatible)

Sets whether the GLContext should be forward compatible.

Forward compatibile contexts must not support OpenGL functionality that has been marked as deprecated in the requested version; non-forward compatible contexts, on the other hand, must support both deprecated and non deprecated functionality.

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

Parameters:

this

a GLContext

compatible

whether the context should be forward compatible