summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/glformats.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2015-05-22 16:39:32 -0700
committerBrian Paul <brianp@vmware.com>2015-05-26 09:58:09 -0600
commit09eabf5be68b901999ef15733a22dfcb82dfec5f (patch)
tree33584165462b0a874ab8b64dcbe9b47e8fbeb67a /src/mesa/main/glformats.c
parentb787f48ed2a7e1855100afd943ae6b407abb401f (diff)
downloadexternal_mesa3d-09eabf5be68b901999ef15733a22dfcb82dfec5f.zip
external_mesa3d-09eabf5be68b901999ef15733a22dfcb82dfec5f.tar.gz
external_mesa3d-09eabf5be68b901999ef15733a22dfcb82dfec5f.tar.bz2
mesa: add const qualifer on _mesa_is_compressed_format()
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Diffstat (limited to 'src/mesa/main/glformats.c')
-rw-r--r--src/mesa/main/glformats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/glformats.c b/src/mesa/main/glformats.c
index 8ced579..6a77c91 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: