[Mesa-dev] [PATCH v2 01/29] mesa/main: make _mesa_has_tessellation return bool
Erik Faye-Lund
erik.faye-lund at collabora.com
Fri Nov 23 10:53:57 UTC 2018
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 <erik.faye-lund at collabora.com>
---
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.19.1
More information about the mesa-dev
mailing list