diff options
author | Brian Paul <[email protected]> | 2010-10-28 21:17:42 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-10-28 21:17:42 -0600 |
commit | 7faf521fad970d6f6706fc9d3c3f4644f2e158ac (patch) | |
tree | e4343cc7ff4ab3e69c1311c06ff79efa41a15787 /src/mesa/main/image.h | |
parent | 113c1832b1fef04fc4856b4efeab71ac76a87ad0 (diff) |
mesa: add const qualifier to _mesa_is_legal_format_and_type()
Diffstat (limited to 'src/mesa/main/image.h')
-rw-r--r-- | src/mesa/main/image.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/image.h b/src/mesa/main/image.h index b40717223e1..023284a9fbc 100644 --- a/src/mesa/main/image.h +++ b/src/mesa/main/image.h @@ -52,7 +52,8 @@ extern GLint _mesa_bytes_per_pixel( GLenum format, GLenum type ); extern GLboolean -_mesa_is_legal_format_and_type( struct gl_context *ctx, GLenum format, GLenum type ); +_mesa_is_legal_format_and_type(const struct gl_context *ctx, + GLenum format, GLenum type); extern GLboolean _mesa_is_color_format(GLenum format); |