mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 17:10:11 +01:00
mesa: get rid of gl_texture_object::_BorderChan
This commit is contained in:
parent
79c55e55f8
commit
7fbae9f41d
2 changed files with 0 additions and 5 deletions
|
|
@ -1296,7 +1296,6 @@ struct gl_texture_object
|
|||
GLenum Target; /**< GL_TEXTURE_1D, GL_TEXTURE_2D, etc. */
|
||||
GLfloat Priority; /**< in [0,1] */
|
||||
GLfloat BorderColor[4]; /**< unclamped */
|
||||
GLchan _BorderChan[4]; /**< clamped, as GLchan */
|
||||
GLenum WrapS; /**< S-axis texture image wrap mode */
|
||||
GLenum WrapT; /**< T-axis texture image wrap mode */
|
||||
GLenum WrapR; /**< R-axis texture image wrap mode */
|
||||
|
|
|
|||
|
|
@ -483,10 +483,6 @@ set_tex_parameterf(GLcontext *ctx,
|
|||
texObj->BorderColor[GCOMP] = params[1];
|
||||
texObj->BorderColor[BCOMP] = params[2];
|
||||
texObj->BorderColor[ACOMP] = params[3];
|
||||
UNCLAMPED_FLOAT_TO_CHAN(texObj->_BorderChan[RCOMP], params[0]);
|
||||
UNCLAMPED_FLOAT_TO_CHAN(texObj->_BorderChan[GCOMP], params[1]);
|
||||
UNCLAMPED_FLOAT_TO_CHAN(texObj->_BorderChan[BCOMP], params[2]);
|
||||
UNCLAMPED_FLOAT_TO_CHAN(texObj->_BorderChan[ACOMP], params[3]);
|
||||
return;
|
||||
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue