Permalink
Browse files

Merge pull request #9 from unyuk/master

window width and height swapped
  • Loading branch information...
2 parents 0050893 + 621519f commit b53aa146239a058bce5eefa1a4d01be5ac0e23e7 @dividuum committed Mar 10, 2013
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 b53aa14

Please sign in to comment.