Renamed GLFW_WINDOW to GLFW_WINDOWED.

This commit is contained in:
Camilla Berglund
2010-09-10 13:24:19 +02:00
parent 059b2b55c0
commit 484a2714fc
18 changed files with 19 additions and 18 deletions
+1 -1
View File
@@ -464,7 +464,7 @@ GLFWAPI GLFWwindow glfwOpenWindow(int width, int height, int mode)
return GL_FALSE;
}
if (mode != GLFW_WINDOW && mode != GLFW_FULLSCREEN)
if (mode != GLFW_WINDOWED && mode != GLFW_FULLSCREEN)
{
// Invalid window mode
glfwCloseWindow(window);
+1 -1
View File
@@ -746,7 +746,7 @@ static GLboolean createWindow(_GLFWwindow* window,
PointerMotionMask | ButtonPressMask | ButtonReleaseMask |
ExposureMask | FocusChangeMask | VisibilityChangeMask;
if (wndconfig->mode == GLFW_WINDOW)
if (wndconfig->mode == GLFW_WINDOWED)
{
// The /only/ reason we are setting the background pixel here is
// that otherwise our window wont get any decorations on systems