summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/image.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-11-23 15:33:46 -0700
committerBrian Paul <[email protected]>2011-11-28 08:07:32 -0700
commit37bf720da4a165c3fbf22d8ebb87c5c42e02f98e (patch)
tree1004dc293d17d6f48d31c6a4c289c3ce3740b662 /src/mesa/main/image.h
parentd45c9b239fdc2a2e06e14fc94c118f27d4011024 (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.h3
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,