Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed wrong window dimensions

  • Loading branch information...
commit 621519fedef24d26f534b13570cd33921d05cf78 1 parent 0050893
Duc Viet Cao authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  main.c
View
2  main.c
@@ -1453,7 +1453,7 @@ int main(int argc, char *argv[]) {
fprintf(stderr, INFO("initial size is %dx%d\n"), width, height);
- if(!glfwOpenWindow(height, width, 8,8,8,8, 0,0, mode))
+ if(!glfwOpenWindow(width, height, 8,8,8,8, 0,0, mode))
die("cannot open window");
GLenum err = glewInit();
Please sign in to comment.
Something went wrong with that request. Please try again.