ogl-sample-cvs
[Top] [All Lists]

[ogl-sample-cvs] TAKE ogl-sample

To: ogl-sample-cvs@xxxxxxxxxxx
Subject: [ogl-sample-cvs] TAKE ogl-sample
From: Craig Dunwoody <dunwoody@xxxxxxxxxxx>
Date: Wed, 31 Jan 2001 22:40:52 -0800
Reply-to: ogl-sample-cvs@xxxxxxxxxxx
Sender: owner-ogl-sample-cvs@xxxxxxxxxxx
---------------------
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 


<Prev in Thread] Current Thread [Next in Thread>