diff options
author | Brian Paul <[email protected]> | 2011-11-23 15:33:46 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-11-28 08:07:32 -0700 |
commit | 37bf720da4a165c3fbf22d8ebb87c5c42e02f98e (patch) | |
tree | 1004dc293d17d6f48d31c6a4c289c3ce3740b662 /src/mesa/main/image.h | |
parent | d45c9b239fdc2a2e06e14fc94c118f27d4011024 (diff) |
mesa: move _mesa_base_format_has_channel() into image.c
This is where other format-related functions live.
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/main/image.h')
-rw-r--r-- | src/mesa/main/image.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/image.h b/src/mesa/main/image.h index 46adaec4149..b606545b7fb 100644 --- a/src/mesa/main/image.h +++ b/src/mesa/main/image.h @@ -84,6 +84,9 @@ _mesa_is_integer_format(GLenum format); extern GLboolean _mesa_is_compressed_format(struct gl_context *ctx, GLenum format); +extern GLboolean +_mesa_base_format_has_channel(GLenum base_format, GLenum pname); + extern GLvoid * _mesa_image_address( GLuint dimensions, const struct gl_pixelstore_attrib *packing, |