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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user