summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2018-11-15 15:57:10 +0100
committerErik Faye-Lund <[email protected]>2018-12-03 18:16:43 +0100
commitca8e2a5277aadd587fe7b26941eba8b3bbefe390 (patch)
tree56244158e9fbd4e75508504157ad7aa57aaa7945 /src/mesa/main
parent3ef0ca65c9eedb7d80eb3326a5867feab9725269 (diff)
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 <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/context.h2
1 files changed, 1 insertions, 1 deletions
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