projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
530593d
)
swrast: fix discarded const warning in s_texture.c
author
Brian Paul
<brianp@vmware.com>
Tue, 22 Mar 2016 14:35:25 +0000
(08:35 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 22 Mar 2016 14:35:27 +0000
(08:35 -0600)
Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/swrast/s_texture.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_texture.c
b/src/mesa/swrast/s_texture.c
index 25918e3e037168fac8936488a307360e315f00d8..d35bea96b92a43b0a965784adba7e5ef6f28c671 100644
(file)
--- 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;