diff options
author | Marek Olšák <marek.olsak@amd.com> | 2014-08-02 20:24:34 +0200 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2014-08-11 21:53:57 +0200 |
commit | ddc8003c61480aa5cbab72435243aa6f99677440 (patch) | |
tree | f4cb55d8d64d48596997db5641c7f8770ce71fb0 /src/mesa/main/formats.h | |
parent | f24be7340162c6a831b392d46d6637e9656e7a8a (diff) |
mesa: add helper _mesa_is_format_etc2
v2: renamed GLboolean -> bool
Reviewed-by: Glenn Kennard <glenn.kennard@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/mesa/main/formats.h')
-rw-r--r-- | src/mesa/main/formats.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/formats.h b/src/mesa/main/formats.h index 457c8abf822..8166b964c7f 100644 --- a/src/mesa/main/formats.h +++ b/src/mesa/main/formats.h @@ -476,6 +476,9 @@ _mesa_is_format_signed(mesa_format format); extern GLboolean _mesa_is_format_integer(mesa_format format); +extern bool +_mesa_is_format_etc2(mesa_format format); + extern GLenum _mesa_get_format_color_encoding(mesa_format format); |