diff options
author | Ian Romanick <idr@us.ibm.com> | 2004-03-18 00:16:44 +0000 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2004-03-18 00:16:44 +0000 |
commit | 6af3dca18a2315ea431b5ea868913093d2111491 (patch) | |
tree | 733fc817b4d692e7566aba9d4daf0cb97d2a829a /src/mesa/drivers/dri/gamma/gamma_tex.c | |
parent | 16c704e8f7cd9b7d7c5d6667cb38e016e3b608d1 (diff) |
Convert int(8|32)_t to uint(8|32)_t, like should have been done the first time.
Diffstat (limited to 'src/mesa/drivers/dri/gamma/gamma_tex.c')
-rw-r--r-- | src/mesa/drivers/dri/gamma/gamma_tex.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/gamma/gamma_tex.c b/src/mesa/drivers/dri/gamma/gamma_tex.c index e4814e6daf..075d6d1357 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) { - int32_t t1 = t->TextureAddressMode; - int32_t t2 = t->TextureReadMode; + uint32_t t1 = t->TextureAddressMode; + uint32_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) { - int32_t t1 = t->TextureAddressMode; - int32_t t2 = t->TextureReadMode; + uint32_t t1 = t->TextureAddressMode; + uint32_t t2 = t->TextureReadMode; t2 &= ~(TRM_Mag_Mask | TRM_Min_Mask); |