Add note about non-magic boolean values

This commit is contained in:
Camilla Berglund 2015-10-18 03:26:50 +02:00
parent 37b10d1a0e
commit ce52210832

View File

@ -68,6 +68,8 @@ if (!glfwInit())
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
@endcode @endcode
Note that `GLFW_TRUE` and `GLFW_FALSE` are and will always be just one and zero.
When you are done using GLFW, typically just before the application exits, you When you are done using GLFW, typically just before the application exits, you
need to terminate GLFW. need to terminate GLFW.