8bde679512
* 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: https://svn.code.sf.net/p/freeglut/code/trunk@218 7f0cb862-5218-0410-a997-914c9d46530a |
||
---|---|---|
.. | ||
freeglut |