diff options
author | marha <marha@users.sourceforge.net> | 2014-03-25 17:58:27 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2014-03-25 17:58:27 +0100 |
commit | cd9a6bd6dd3acdebd091fabbe9382e0831362ab1 (patch) | |
tree | 48bea27f46ecfe20e0cc342752d7bec5b81d402c /mesalib/src/mesa/main/formats.h | |
parent | ba6115f56f066621a20fa545ddd67721afd35523 (diff) | |
parent | 13d96866ca5d0e2be51f20a72da9e0f7032a16ea (diff) | |
download | vcxsrv-cd9a6bd6dd3acdebd091fabbe9382e0831362ab1.tar.gz vcxsrv-cd9a6bd6dd3acdebd091fabbe9382e0831362ab1.tar.bz2 vcxsrv-cd9a6bd6dd3acdebd091fabbe9382e0831362ab1.zip |
Merge remote-tracking branch 'origin/released'
Diffstat (limited to 'mesalib/src/mesa/main/formats.h')
-rw-r--r-- | mesalib/src/mesa/main/formats.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mesalib/src/mesa/main/formats.h b/mesalib/src/mesa/main/formats.h index 3079f0356..89bd0219e 100644 --- a/mesalib/src/mesa/main/formats.h +++ b/mesalib/src/mesa/main/formats.h @@ -34,6 +34,7 @@ #include <GL/gl.h> +#include <stdbool.h> #ifdef __cplusplus @@ -474,6 +475,9 @@ _mesa_get_uncompressed_format(mesa_format format); extern GLuint _mesa_format_num_components(mesa_format format); +extern bool +_mesa_format_has_color_component(mesa_format format, int component); + GLboolean _mesa_format_matches_format_and_type(mesa_format mesa_format, GLenum format, GLenum type, |