summaryrefslogtreecommitdiffstats
path: root/sdl/gltools.c
diff options
context:
space:
mode:
Diffstat (limited to 'sdl/gltools.c')
-rw-r--r--sdl/gltools.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sdl/gltools.c b/sdl/gltools.c
index 7db2410..2c2c0c4 100644
--- a/sdl/gltools.c
+++ b/sdl/gltools.c
@@ -2,7 +2,7 @@
*
* OpenGL Tools
*
- * notes: some function modify current color, just fyi
+ * notes: some function modify current color, just FYI
*
*/
@@ -37,7 +37,7 @@ GLint gltWriteTGA(const char *szFileName)
return 0;
}
- /* read bits from color buffer */
+ /* change how bits are stored */
glPixelStorei(GL_PACK_ALIGNMENT, 1);
glPixelStorei(GL_PACK_ROW_LENGTH, 0);
glPixelStorei(GL_PACK_SKIP_ROWS, 0);
@@ -427,7 +427,6 @@ void gltDrawUnitAxes(void)
}
/* draw a torus (doughnut), using the current 1d texture for light shading */
-/* this funct accepts 4x4 trans matrix to be applied to the vertices */
void gltDrawTorus(GLfloat majorRadius, GLfloat minorRadius, GLint numMajor,
GLint numMinor)
{