Renamed GLFW_SAMPLES and GLFW_SHOULD_CLOSE.

This commit is contained in:
Camilla Berglund
2012-12-31 19:45:13 +01:00
parent 8db1528c74
commit 21f41a2bb7
15 changed files with 24 additions and 23 deletions

View File

@@ -481,11 +481,11 @@ extern "C" {
* otherwise.
* @see glfwGetWindowParam
*/
#define GLFW_CLOSE_REQUESTED 0x00020003
#define GLFW_SHOULD_CLOSE 0x00020003
/*! @brief The client API version revision.
* @see glfwGetWindowParam
*/
#define GLFW_CONTEXT_REVISION 0x00020004
#define GLFW_CONTEXT_REVISION 0x00020004
/*! @brief The bit depth of the red component of the color buffer.
* @see glfwWindowHint
@@ -543,7 +543,7 @@ extern "C" {
* zero to disable multisampling.
* @see glfwWindowHint
*/
#define GLFW_FSAA_SAMPLES 0x0002100E
#define GLFW_SAMPLES 0x0002100E
/*! @brief @c GL_TRUE if the framebuffer should be sRGB capable, or @c GL_FALSE
* otherwise.
* @see glfwWindowHint
@@ -1075,8 +1075,8 @@ GLFWAPI void glfwDefaultWindowHints(void);
*
* The @ref GLFW_STEREO hint specifies whether to use stereoscopic rendering.
*
* The @ref GLFW_FSAA_SAMPLES hint specifies the desired number of samples to
* use for multisampling.
* The @ref GLFW_SAMPLES hint specifies the desired number of samples to use
* for multisampling.
*
* The @ref GLFW_SRGB_CAPABLE hint specifies whether the framebuffer should be
* sRGB capable.
@@ -1304,7 +1304,7 @@ GLFWAPI void glfwHideWindow(GLFWwindow window);
* The @ref GLFW_RESIZABLE property indicates whether the window is resizable
* by the user.
*
* The @ref GLFW_CLOSE_REQUESTED property indicates whether the window has been
* The @ref GLFW_SHOULD_CLOSE property indicates whether the window has been
* requested by the user to close.
*
* The @ref GLFW_REFRESH_RATE property will be replaced when the @c
@@ -1383,7 +1383,7 @@ GLFWAPI void glfwSetWindowSizeCallback(GLFWwindow window, GLFWwindowsizefun cbfu
* callback to be called.
*
* The return value of the close callback becomes the new value of the @ref
* GLFW_CLOSE_REQUESTED window parameter.
* GLFW_SHOULD_CLOSE window parameter.
*/
GLFWAPI void glfwSetWindowCloseCallback(GLFWwindow window, GLFWwindowclosefun cbfun);