Skip to content
Browse files

fixed wrong window dimensions

  • Loading branch information...
1 parent 0050893 commit 621519fedef24d26f534b13570cd33921d05cf78 Duc Viet Cao committed
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();

0 comments on commit 621519f

Please sign in to comment.
Something went wrong with that request. Please try again.