summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/textureview.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-05-22 16:42:21 -0700
committerBrian Paul <[email protected]>2015-05-26 09:58:09 -0600
commit3ddd1cf7d128018639de7e4c8bc17896233ebdb7 (patch)
treeb3b56fe3c0fedf2fad87666c6beb501e54f0ee2d /src/mesa/main/textureview.h
parent09eabf5be68b901999ef15733a22dfcb82dfec5f (diff)
mesa: const qualify, return bool for _mesa_texture_view_compatible_format()
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/mesa/main/textureview.h')
-rw-r--r--src/mesa/main/textureview.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/textureview.h b/src/mesa/main/textureview.h
index 549a13cd809..596a3a8dbbe 100644
--- a/src/mesa/main/textureview.h
+++ b/src/mesa/main/textureview.h
@@ -29,8 +29,8 @@
#ifndef TEXTUREVIEW_H
#define TEXTUREVIEW_H
-GLboolean
-_mesa_texture_view_compatible_format(struct gl_context *ctx,
+bool
+_mesa_texture_view_compatible_format(const struct gl_context *ctx,
GLenum origInternalFormat,
GLenum newInternalFormat);