---------------------
Commit by dunwoody on Wed Jan 31 22:40:52 PST 2001 of files:
main/doc/man/manglu/standard build1dmipmaplevels.gl build1dmipmaps.gl
build2dmipmaplevels.gl build2dmipmaps.gl build3dmipmaplevels.gl
build3dmipmaps.gl
Update of /oss/CVS/cvs/projects/ogl-sample/main/doc/man/manglu/standard
In directory oss.sgi.com:/tmp/cvs-serv9983/main/doc/man/manglu/standard
Modified Files:
build1dmipmaplevels.gl build1dmipmaps.gl
build2dmipmaplevels.gl build2dmipmaps.gl
build3dmipmaplevels.gl build3dmipmaps.gl
Log Message:
Patch courtesy of Andrew Ritger <ARitger@xxxxxxxxxx>.
Remove internalformat parameter check from gluBuild*Mipmap* .
Add support for GL_ARB_texture_cube_map.
ARitger@xxxxxxxxxx writes:
> I've attached a patch to the file main/gfx/lib/glu/libutil/mipmap.c that
> addresses two issues:
> - relaxes argument checking for the gluBuildMipmaps routines
> internalFormat argument; validating the internalFormat broke some
> extensions. I suppose that you could add cases to the switch statement in
> isLegalInternalFormat(), but this check will just break some other future
> extension, and the error checking doesn't by anything because glTexImage*
> will just do the same check itself.
> - modified closestFit() to handle the GL_ARB_texture_cube_map extension.
Modified Files:
main/doc/man/manglu/standard/build1dmipmaplevels.gl
main/doc/man/manglu/standard/build1dmipmaps.gl
main/doc/man/manglu/standard/build2dmipmaplevels.gl
main/doc/man/manglu/standard/build2dmipmaps.gl
main/doc/man/manglu/standard/build3dmipmaplevels.gl
main/doc/man/manglu/standard/build3dmipmaps.gl
main/gfx/lib/glu/libutil/mipmap.c
|