Documentation work.

This commit is contained in:
Camilla Berglund
2015-01-11 18:25:54 +01:00
parent 500f5ebf04
commit 4e375d0e74
6 changed files with 47 additions and 40 deletions

View File

@@ -145,15 +145,14 @@ and its handle becomes invalid.
@subsection quick_context_current Making the OpenGL context current
Before you can use the OpenGL API, it must have a current OpenGL context. You
make a window's context current.
Before you can use the OpenGL API, you must have a current OpenGL context.
@code
glfwMakeContextCurrent(window);
@endcode
The context will then remain as current until you make another context current
or until the window owning the current context is destroyed.
The context will remain current until you make another context current or until
the window owning the current context is destroyed.
@subsection quick_window_close Checking the window close flag