glTexParameter[if]v?

Started by cfmdobbie, January 22, 2004, 21:46:43

Previous topic - Next topic

cfmdobbie

Are the Buffer versions of glTexParameter missing, or am I looking in the wrong place? :?:
ellomynameis Charlie Dobbie.

elias

They seem to be missing. Show me a parameter that needs the pointer version and I'll add it right away to cvs.

- elias

cfmdobbie

The only parameter I can see that needs it is GL_TEXTURE_BORDER_COLOR:

GL_TEXTURE_BORDER_COLOR
Sets a border color. params contains four values that comprise the RGBA color of the texture border. Integer color components are interpreted linearly such that the most positive integer maps to 1.0, and the most negative integer maps to -1.0. The values are clamped to the range [0,1] when they are specified. Initially, the border color is (0, 0, 0, 0).

I guess we only need the FloatBuffer version - if indeed you decide it's worth adding at all.  I'm converting some code that uses border colours, although I'd never use them myself! :roll:
ellomynameis Charlie Dobbie.

elias

Sounds reasonable - I will add it as soon as possible.

- elias

elias

Blah, that will have to wait - it seems that sourceforge has lost a cvs server...

- elias

cfmdobbie

ellomynameis Charlie Dobbie.