From owner-ogl-sample-cvs@oss.sgi.com Wed Jan 31 22:41:13 2001 Received: by oss.sgi.com id ; Wed, 31 Jan 2001 22:41:03 -0800 Received: (from localhost user: 'dunwoody', uid#10118) by oss.sgi.com id ; Wed, 31 Jan 2001 22:40:52 -0800 From: Craig Dunwoody To: ogl-sample-cvs@oss.sgi.com Subject: [ogl-sample-cvs] TAKE ogl-sample Message-Id: <20010201064102Z553909-489+904@oss.sgi.com> Date: Wed, 31 Jan 2001 22:40:52 -0800 Sender: owner-ogl-sample-cvs@oss.sgi.com Precedence: bulk Reply-To: ogl-sample-cvs@oss.sgi.com Return-Path: X-Orcpt: rfc822;ogl-sample-cvs-outgoing --------------------- 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 . Remove internalformat parameter check from gluBuild*Mipmap* . Add support for GL_ARB_texture_cube_map. ARitger@nvidia.com 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 From owner-ogl-sample-cvs@oss.sgi.com Wed Jan 31 22:41:23 2001 Received: by oss.sgi.com id ; Wed, 31 Jan 2001 22:41:13 -0800 Received: (from localhost user: 'dunwoody', uid#10118) by oss.sgi.com id ; Wed, 31 Jan 2001 22:40:52 -0800 From: Craig Dunwoody To: ogl-sample-cvs@oss.sgi.com Subject: [ogl-sample-cvs] TAKE ogl-sample Message-Id: <20010201064102Z553953-490+891@oss.sgi.com> Date: Wed, 31 Jan 2001 22:40:52 -0800 Sender: owner-ogl-sample-cvs@oss.sgi.com Precedence: bulk Reply-To: ogl-sample-cvs@oss.sgi.com Return-Path: X-Orcpt: rfc822;ogl-sample-cvs-outgoing --------------------- Commit by dunwoody on Wed Jan 31 22:40:52 PST 2001 of files: main/gfx/lib/glu/libutil mipmap.c Update of /oss/CVS/cvs/projects/ogl-sample/main/gfx/lib/glu/libutil In directory oss.sgi.com:/tmp/cvs-serv9983/main/gfx/lib/glu/libutil Modified Files: mipmap.c Log Message: Patch courtesy of Andrew Ritger . Remove internalformat parameter check from gluBuild*Mipmap* . Add support for GL_ARB_texture_cube_map. ARitger@nvidia.com 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