Documentation work

This commit is contained in:
Camilla Berglund 2015-10-24 21:24:12 +02:00
parent 318e8acfae
commit f47e2f3ae4

View File

@ -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. the window owning the current context is destroyed.
If you are using an [extension loader library](@ref context_glext_auto) to 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 access modern OpenGL then this is when to initialize it, as the loader needs
context to be current before it can load from it. The following example uses a current context to load from. This example uses
[glad](https://github.com/Dav1dde/glad), but the same rule applies to all. [glad](https://github.com/Dav1dde/glad), but the same rule applies to all such
libraries.
@code @code
gladLoadGLLoader((GLADloadproc) glfwGetProcAddress); gladLoadGLLoader((GLADloadproc) glfwGetProcAddress);