projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mesa: add const qualifier to _mesa_is_legal_format_and_type()
[mesa.git]
/
src
/
mesa
/
main
/
image.c
diff --git
a/src/mesa/main/image.c
b/src/mesa/main/image.c
index 65b7a62b528e616f1f69040f8ef4498c3dec8068..a945ba2e1463aedf6b9d240afade9dc12a6cb086 100644
(file)
--- a/
src/mesa/main/image.c
+++ b/
src/mesa/main/image.c
@@
-368,7
+368,8
@@
_mesa_bytes_per_pixel( GLenum format, GLenum type )
* otherwise.
*/
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)
{
switch (format) {
case GL_COLOR_INDEX: