Skip to content
Snippets Groups Projects
Commit f47e2f3a authored by Camilla Löwy's avatar Camilla Löwy
Browse files

Documentation work

parent 318e8acf
Branches
No related tags found
No related merge requests found
......@@ -157,9 +157,10 @@ The context will remain current until you make another context current or until
the window owning the current context is destroyed.
If you are using an [extension loader library](@ref context_glext_auto) to
access modern OpenGL then this is when to initialize it. The loader needs the
context to be current before it can load from it. The following example uses
[glad](https://github.com/Dav1dde/glad), but the same rule applies to all.
access modern OpenGL then this is when to initialize it, as the loader needs
a current context to load from. This example uses
[glad](https://github.com/Dav1dde/glad), but the same rule applies to all such
libraries.
@code
gladLoadGLLoader((GLADloadproc) glfwGetProcAddress);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment