diff options
author | Kyle K <kylek389@gmail.com> | 2011-07-04 22:46:50 -0500 |
---|---|---|
committer | Kamil Kaminski <kamilkss@gmail.com> | 2011-07-04 22:46:50 -0500 |
commit | f65f7c583f763120bba3eeacd2af857d113d79ba (patch) | |
tree | eb0c64de094184c79a39694f76c66ffbe1d28835 /sdl/gltools.c | |
parent | 6e420fa48b415dcdf6353adec9298e53998e7dff (diff) | |
download | GLPyramid-f65f7c583f763120bba3eeacd2af857d113d79ba.tar.gz GLPyramid-f65f7c583f763120bba3eeacd2af857d113d79ba.tar.bz2 GLPyramid-f65f7c583f763120bba3eeacd2af857d113d79ba.zip |
sync up
Diffstat (limited to 'sdl/gltools.c')
-rw-r--r-- | sdl/gltools.c | 5 |
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) { |