From 3ddd1cf7d128018639de7e4c8bc17896233ebdb7 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 22 May 2015 16:42:21 -0700 Subject: mesa: const qualify, return bool for _mesa_texture_view_compatible_format() Reviewed-by: Topi Pohjolainen --- src/mesa/main/textureview.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/main/textureview.h') 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); -- cgit v1.2.3