diff options
author | Brian Paul <[email protected]> | 2015-05-22 16:39:32 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-05-26 09:58:09 -0600 |
commit | 09eabf5be68b901999ef15733a22dfcb82dfec5f (patch) | |
tree | 33584165462b0a874ab8b64dcbe9b47e8fbeb67a /src/mesa | |
parent | b787f48ed2a7e1855100afd943ae6b407abb401f (diff) |
mesa: add const qualifer on _mesa_is_compressed_format()
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/glformats.c | 2 | ||||
-rw-r--r-- | src/mesa/main/glformats.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/glformats.c b/src/mesa/main/glformats.c index 8ced5794938..6a77c916a9c 100644 --- a/src/mesa/main/glformats.c +++ b/src/mesa/main/glformats.c @@ -1200,7 +1200,7 @@ _mesa_is_depth_or_stencil_format(GLenum format) * \return GL_TRUE if compressed, GL_FALSE if uncompressed */ GLboolean -_mesa_is_compressed_format(struct gl_context *ctx, GLenum format) +_mesa_is_compressed_format(const struct gl_context *ctx, GLenum format) { switch (format) { case GL_COMPRESSED_RGB_S3TC_DXT1_EXT: diff --git a/src/mesa/main/glformats.h b/src/mesa/main/glformats.h index e1ecd64d5f9..8881cb7d86b 100644 --- a/src/mesa/main/glformats.h +++ b/src/mesa/main/glformats.h @@ -96,7 +96,7 @@ extern GLboolean _mesa_is_depth_or_stencil_format(GLenum format); extern GLboolean -_mesa_is_compressed_format(struct gl_context *ctx, GLenum format); +_mesa_is_compressed_format(const struct gl_context *ctx, GLenum format); extern GLenum _mesa_base_format_to_integer_format(GLenum format); |