From ca8e2a5277aadd587fe7b26941eba8b3bbefe390 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Thu, 15 Nov 2018 15:57:10 +0100 Subject: [PATCH] mesa/main: make _mesa_has_tessellation return bool MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit All other _mesa_has_foo functions return bool rather than GLboolean, so let's follow that style here as well. Signed-off-by: Erik Faye-Lund Reviewed-by: Marek Olšák --- src/mesa/main/context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/context.h b/src/mesa/main/context.h index d50438fd7f9..d8a548f1b1b 100644 --- a/src/mesa/main/context.h +++ b/src/mesa/main/context.h @@ -361,7 +361,7 @@ _mesa_has_compute_shaders(const struct gl_context *ctx) /** * Checks if the context supports tessellation. */ -static inline GLboolean +static inline bool _mesa_has_tessellation(const struct gl_context *ctx) { /* _mesa_has_EXT_tessellation_shader(ctx) is redundant with the OES -- 2.30.2