From f65f7c583f763120bba3eeacd2af857d113d79ba Mon Sep 17 00:00:00 2001 From: Kyle K Date: Mon, 4 Jul 2011 22:46:50 -0500 Subject: sync up --- sdl/gltools.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sdl/gltools.c') 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) { -- cgit v1.2.3