diff options
author | Brian Paul <[email protected]> | 1999-12-12 17:24:18 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 1999-12-12 17:24:18 +0000 |
commit | 19a2ebd02f2f897fa1735f0bfb2670acf185ab29 (patch) | |
tree | b8a3d0c24781451b3e404324e4f86cf31933563f | |
parent | 6fc61407a31dc1ea2e00b803c7f6d355f278fb0d (diff) |
removed unneeded code in gluBuild1DMipmaps()
-rw-r--r-- | src/glu/mesa/mipmap.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/glu/mesa/mipmap.c b/src/glu/mesa/mipmap.c index 9f4ffcfea89..500b0b1d031 100644 --- a/src/glu/mesa/mipmap.c +++ b/src/glu/mesa/mipmap.c @@ -1,4 +1,4 @@ -/* $Id: mipmap.c,v 1.3 1999/11/09 06:16:59 brianp Exp $ */ +/* $Id: mipmap.c,v 1.4 1999/12/12 17:24:18 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -23,6 +23,9 @@ /* * $Log: mipmap.c,v $ + * Revision 1.4 1999/12/12 17:24:18 brianp + * removed unneeded code in gluBuild1DMipmaps() + * * Revision 1.3 1999/11/09 06:16:59 brianp * replace GLint with GLsizei in a gluScaleImage, gluBuild1/2DMipmaps() * @@ -702,12 +705,6 @@ GLint GLAPIENTRY gluBuild1DMipmaps( GLenum target, GLint components, free( texture ); - /* make sure remaining mipmap levels are removed */ - for (l=levels;l<max_levels;l++) { - glTexImage1D( GL_TEXTURE_1D, l, components, 0, 0, - format, GL_UNSIGNED_BYTE, NULL ); - } - return 0; } |