mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-27 20:40:24 +01:00
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:
parent
3ef0ca65c9
commit
ca8e2a5277
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue