GLContext.getConfig

Retrieve the OpenGL configuration for this context. The context must have been successfully created for this function to return a valid value.

Not all implementations currently support retrieving the config and will return null when not supported.

Returns

the configuration chosen for this OpenGL context.