diff options
author | marha <marha@users.sourceforge.net> | 2014-03-25 17:54:52 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2014-03-25 17:54:52 +0100 |
commit | 13d96866ca5d0e2be51f20a72da9e0f7032a16ea (patch) | |
tree | be456b793acca557025c7abad4ddfa5eb8a7292d /mesalib/src/mesa/main/formats.h | |
parent | e0927d908a12c9c140458c355b29b884a7705f2d (diff) | |
download | vcxsrv-13d96866ca5d0e2be51f20a72da9e0f7032a16ea.tar.gz vcxsrv-13d96866ca5d0e2be51f20a72da9e0f7032a16ea.tar.bz2 vcxsrv-13d96866ca5d0e2be51f20a72da9e0f7032a16ea.zip |
mesa git update 25 Marc 2014
mesa commit b995a010e688bc4d4557e973e5e28091c378e881
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, |