void SetOpenGLContextDefaults( void );


The SetOpenGLContextDefaults method function sets attributes of a OpenGL context the same way as the COpenGL object modifies itís OpenGL context attributes after creating it. The same attributes will be modified as those which are set in the COpenGL::OnCreate method. Other attributes will remain untouched.

This methods does not set all OpenGL context attributes to defaults. It is supposed to be used for creating OpenGL context which are compatible with COpenGL object settings, after these context are created outside of COpenGL object.

Available from ClassGL version 3.5

See Also