diff options
author | Brian Paul <[email protected]> | 2017-12-05 12:05:48 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-12-05 15:32:25 -0700 |
commit | dee936c8056aa35847258e9707028a45038eaf56 (patch) | |
tree | c668ac834e87c51d94179e06a575841acc3c0694 /src/mesa/main/teximage.c | |
parent | ca78b6b4f4230fd4492c26ff917cb941835fc57c (diff) |
mesa: add const qualifier on _mesa_is_renderable_texture_format()
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.c')
-rw-r--r-- | src/mesa/main/teximage.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 572e380872b..e5f8bb0718f 100644 --- a/src/mesa/main/teximage.c +++ b/src/mesa/main/teximage.c @@ -5712,7 +5712,8 @@ _mesa_TextureBufferRange(GLuint texture, GLenum internalFormat, GLuint buffer, } GLboolean -_mesa_is_renderable_texture_format(struct gl_context *ctx, GLenum internalformat) +_mesa_is_renderable_texture_format(const struct gl_context *ctx, + GLenum internalformat) { /* Everything that is allowed for renderbuffers, * except for a base format of GL_STENCIL_INDEX, unless supported. |