title: glutInit parameters in simple OSX example
body: <p>I'm working with an <a href="http://goanna.cs.rmit.edu.au/~gl/teaching/Interactive3D/2011/compiling.html" rel="nofollow">example from this site</a> on OSX and I have no troubles compiling it but I don't know how to test run it. The program looks like this:</p>
  
  <pre><code>void display()
  {
  }
  
  int main(int argc, char **argv)
  {
          glutInit(&amp;argc, argv);
          glutDisplayFunc(display);
          glutMainLoop();
  }
  </code></pre>
  
  <p>I don't know what the arguments should be for the program, which <code>glutInit</code> will use. Does anybody know what with which arguments I need to call me program to acually show a window?</p>
  
  <p>Calling with no arguments orcourse causes this crash:</p>
  
  <pre><code>./hello 
  2011-10-13 11:41:15.360 hello[2395:903] GLUT Fatal API Usage: main loop entered with no windows created.
  Abort trap
  </code></pre>