diff options
author | Pauli Nieminen <suokkos@gmail.com> | 2009-08-25 19:28:00 +0300 |
---|---|---|
committer | Pauli Nieminen <suokkos@gmail.com> | 2009-08-25 19:35:41 +0300 |
commit | c3374bf97ecd82b915fb29c7c04951e2b75d4dbc (patch) | |
tree | f00b6561f6c8e27a5058f2aae601629d7844b64d /src/mesa/drivers/dri/r600/r600_tex.c | |
parent | 42ecb1287ebb8b6f29d300e8dcb0e9487504dabc (diff) |
radeon: Fix all compiler warnings.
Diffstat (limited to 'src/mesa/drivers/dri/r600/r600_tex.c')
-rw-r--r-- | src/mesa/drivers/dri/r600/r600_tex.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r600/r600_tex.c b/src/mesa/drivers/dri/r600/r600_tex.c index 6d531bf0f9..a06a1fa921 100644 --- a/src/mesa/drivers/dri/r600/r600_tex.c +++ b/src/mesa/drivers/dri/r600/r600_tex.c @@ -167,9 +167,9 @@ static void r600SetTexDefaultState(radeonTexObjPtr t) } +#if 0 static GLuint aniso_filter(GLfloat anisotropy) { -#if 0 if (anisotropy >= 16.0) { return R300_TX_MAX_ANISO_16_TO_1; } else if (anisotropy >= 8.0) { @@ -181,9 +181,9 @@ static GLuint aniso_filter(GLfloat anisotropy) } else { return R300_TX_MAX_ANISO_1_TO_1; } -#endif return 0; } +#endif /** * Set the texture magnification and minification modes. |