diff options
author | Alan Hourihane <alanh@tungstengraphics.com> | 2004-12-14 09:11:52 +0000 |
---|---|---|
committer | Alan Hourihane <alanh@tungstengraphics.com> | 2004-12-14 09:11:52 +0000 |
commit | 38b317d508a2a3a4cc6d700ebca80c3b06c913e2 (patch) | |
tree | 017e198082e3b2c633beef5a69f9d9088124b37a /src/mesa/drivers/dri/gamma/gamma_tex.c | |
parent | 9fb024ba970b808d357a00ab7b8739a78559b39e (diff) |
uint*t -> u_int*t changes
Diffstat (limited to 'src/mesa/drivers/dri/gamma/gamma_tex.c')
-rw-r--r-- | src/mesa/drivers/dri/gamma/gamma_tex.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/gamma/gamma_tex.c b/src/mesa/drivers/dri/gamma/gamma_tex.c index 075d6d1357..d4fc93f86b 100644 --- a/src/mesa/drivers/dri/gamma/gamma_tex.c +++ b/src/mesa/drivers/dri/gamma/gamma_tex.c @@ -32,8 +32,8 @@ static GLuint gammaComputeLodBias(GLfloat bias) static void gammaSetTexWrapping(gammaTextureObjectPtr t, GLenum wraps, GLenum wrapt) { - uint32_t t1 = t->TextureAddressMode; - uint32_t t2 = t->TextureReadMode; + u_int32_t t1 = t->TextureAddressMode; + u_int32_t t2 = t->TextureReadMode; t1 &= ~(TAM_SWrap_Mask | TAM_TWrap_Mask); t2 &= ~(TRM_UWrap_Mask | TRM_VWrap_Mask); @@ -58,8 +58,8 @@ static void gammaSetTexFilter(gammaContextPtr gmesa, GLenum minf, GLenum magf, GLfloat bias) { - uint32_t t1 = t->TextureAddressMode; - uint32_t t2 = t->TextureReadMode; + u_int32_t t1 = t->TextureAddressMode; + u_int32_t t2 = t->TextureReadMode; t2 &= ~(TRM_Mag_Mask | TRM_Min_Mask); @@ -376,6 +376,7 @@ static GLboolean gammaIsTextureResident( GLcontext *ctx, return t && t->MemBlock; } +#ifdef UNUSED /** * Allocate a new texture object. * Called via ctx->Driver.NewTextureObject. @@ -391,6 +392,7 @@ gammaNewTextureObject( GLcontext *ctx, GLuint name, GLenum target ) obj = _mesa_new_texture_object(ctx, name, target); return obj; } +#endif void gammaInitTextureObjects( GLcontext *ctx ) { |