A few minor changes:
authorRichard Rauch <rkr@olib.org>
Thu, 9 Oct 2003 03:00:04 +0000 (03:00 +0000)
committerRichard Rauch <rkr@olib.org>
Thu, 9 Oct 2003 03:00:04 +0000 (03:00 +0000)
commit017c50018bb3c3f36179d7b97ab0e6f7545fc78e
treefcf472baed59b36381eb44e3e4be70950ea106b0
parent9da41b5b9f4bd1a61b5374536dc43ea969114428
A few minor changes:
 * glutInit*() calls should preceed glutInit(), per se, generally.
   This is so that glutInit()'s configuration (which picks up on user
   parameters) can override application defaults.
 * glutInit() should be called before ANY attempt to process {argv, argc}.
   This is because there may be GLUT/freeglut parameters (such as
   "-display" on X11).
 * If the window is tall and skinny, rather than short and squat, we need
   to handle aspect ratios differently.

The first is a user-interface bug.  The second is a serious bug (especially
since the demo assumes that argv[1] contains a filename).  The third is a
display bug.

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@218 7f0cb862-5218-0410-a997-914c9d46530a
progs/demos/Fractals/fractals.c