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

View File

@@ -45,7 +45,7 @@ static const char* get_mode_name(int mode)
{
switch (mode)
{
case GLFW_WINDOW:
case GLFW_WINDOWED:
return "windowed";
case GLFW_FULLSCREEN:
return "fullscreen";
@@ -128,7 +128,7 @@ int main(int argc, char** argv)
for (;;)
{
if (!open_window(640, 480, (count & 1) ? GLFW_FULLSCREEN : GLFW_WINDOW))
if (!open_window(640, 480, (count & 1) ? GLFW_FULLSCREEN : GLFW_WINDOWED))
{
glfwTerminate();
exit(1);