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 <erik.faye-lund@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
Erik Faye-Lund 2018-11-15 15:57:10 +01:00
parent 3ef0ca65c9
commit ca8e2a5277

View file

@ -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