diff options
Diffstat (limited to 'src/glu/mesa')
-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; } |