opengl/README.md
Erik Johansson Andersson 5a5f0830e4 Create README.md
2015-01-15 21:03:34 +01:00

8 lines
541 B
Markdown

# opengl
An OpenGL interface
# Extension loading
``loadExtensions()`` must be executed after the creation of a rendering context and before any OpenGL extension procs are used.
# Automatic error checking
The OpenGL procs do perform automatic error checking by default. This can be disabled at compile-time by defining the conditional symbol ``noAutoGLerrorCheck`` (-d:noAutoGLerrorCheck), in which case the error checking code will be omitted from the binary; or at run-time by executing this statement: ``enableAutoGLerrorCheck(false)``.