aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-03-22 08:35:25 -0600
committerBrian Paul <[email protected]>2016-03-22 08:35:27 -0600
commit18c5fa1122eddc2da0912749760356e570631163 (patch)
treec26aee3a8c1789bd37bce4650bb155e074ebcf15 /src/mesa/swrast
parent530593da65c0205539fe4bd7bcf7c01e3eba723d (diff)
swrast: fix discarded const warning in s_texture.c
Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/swrast')
-rw-r--r--src/mesa/swrast/s_texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_texture.c b/src/mesa/swrast/s_texture.c
index 25918e3e037..d35bea96b92 100644
--- a/src/mesa/swrast/s_texture.c
+++ b/src/mesa/swrast/s_texture.c
@@ -60,7 +60,7 @@ _swrast_delete_texture_image(struct gl_context *ctx,
}
static unsigned int
-texture_slices(struct gl_texture_image *texImage)
+texture_slices(const struct gl_texture_image *texImage)
{
if (texImage->TexObject->Target == GL_TEXTURE_1D_ARRAY)
return texImage->Height;