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
+2 -2
View File
@@ -442,7 +442,7 @@ GLFWAPI void glfwWindowHint(int target, int hint)
case GLFW_POSITION_Y:
_glfwLibrary.hints.positionY = hint;
break;
case GLFW_FSAA_SAMPLES:
case GLFW_SAMPLES:
_glfwLibrary.hints.samples = hint;
break;
case GLFW_SRGB_CAPABLE:
@@ -715,7 +715,7 @@ GLFWAPI int glfwGetWindowParam(GLFWwindow handle, int param)
return window == _glfwLibrary.focusedWindow;
case GLFW_ICONIFIED:
return window->iconified;
case GLFW_CLOSE_REQUESTED:
case GLFW_SHOULD_CLOSE:
return window->closeRequested;
case GLFW_REFRESH_RATE:
return window->refreshRate;