diff options
author | Ian Romanick <idr@us.ibm.com> | 2004-03-17 20:50:12 +0000 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2004-03-17 20:50:12 +0000 |
commit | 16c704e8f7cd9b7d7c5d6667cb38e016e3b608d1 (patch) | |
tree | d3b07d3be78f379d76d36b17b06d3b74a8aa1079 /src/mesa/drivers/dri/gamma/gamma_tex.c | |
parent | aae2fde0e6758769c11611d0951b2cb0e4ee24eb (diff) | |
download | external_mesa3d-16c704e8f7cd9b7d7c5d6667cb38e016e3b608d1.zip external_mesa3d-16c704e8f7cd9b7d7c5d6667cb38e016e3b608d1.tar.gz external_mesa3d-16c704e8f7cd9b7d7c5d6667cb38e016e3b608d1.tar.bz2 |
Convert all uses of CARD32 and CARD8 to int32_t and int8_t.
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 4af99e4..e4814e6 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) { - CARD32 t1 = t->TextureAddressMode; - CARD32 t2 = t->TextureReadMode; + int32_t t1 = t->TextureAddressMode; + 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) { - CARD32 t1 = t->TextureAddressMode; - CARD32 t2 = t->TextureReadMode; + int32_t t1 = t->TextureAddressMode; + int32_t t2 = t->TextureReadMode; t2 &= ~(TRM_Mag_Mask | TRM_Min_Mask); |