From: Erik Faye-Lund Date: Thu, 15 Nov 2018 14:57:10 +0000 (+0100) Subject: mesa/main: make _mesa_has_tessellation return bool X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ca8e2a5277aadd587fe7b26941eba8b3bbefe390;p=mesa.git mesa/main: make _mesa_has_tessellation return bool 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 --- 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