807042d126
little changes to the code appearance. * Fit the comments at the start of the file to fit 80 columns. * Noted an unusual feature of the ATTRIB() macro. * Added ATTRIB_VAL() macro which is really just two ATTRIB()s. This lets us put things like {ATTRIB (GLX_RED_SIZE); ATTRIB (1);} on one statement: {ATTRIB_VAL (GLX_RED_SIZE, 1);}. I did this to preserve some of the layout of information while also avoiding the nasty semi-visible ";" in the middle of a line of code. And by putting the {braces} in the macro definition, I was able to visually clean code of the form: if (condition) { ATTRIB( X ); ATTRIB( 1 ); } ...rewriting as: if (condition) ATTRIB_VAL( X, 1 ); * Eliminated a bunch of say-nothing-new comments in fgChooseVisual(). * Combined some semi-useful comments into a block comment summarizing a loop. git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@272 7f0cb862-5218-0410-a997-914c9d46530a |
||
---|---|---|
.. | ||
freeglut |