summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/teximage.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-12-05 12:05:48 -0700
committerBrian Paul <[email protected]>2017-12-05 15:32:25 -0700
commitdee936c8056aa35847258e9707028a45038eaf56 (patch)
treec668ac834e87c51d94179e06a575841acc3c0694 /src/mesa/main/teximage.h
parentca78b6b4f4230fd4492c26ff917cb941835fc57c (diff)
mesa: add const qualifier on _mesa_is_renderable_texture_format()
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.h')
-rw-r--r--src/mesa/main/teximage.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/teximage.h b/src/mesa/main/teximage.h
index 18452db24d6..2e950bf42bb 100644
--- a/src/mesa/main/teximage.h
+++ b/src/mesa/main/teximage.h
@@ -216,7 +216,8 @@ bool
_mesa_format_no_online_compression(const struct gl_context *ctx, GLenum format);
GLboolean
-_mesa_is_renderable_texture_format(struct gl_context *ctx, GLenum internalformat);
+_mesa_is_renderable_texture_format(const struct gl_context *ctx,
+ GLenum internalformat);
extern void
_mesa_texture_sub_image(struct gl_context *ctx, GLuint dims,