diff options
author | Eric Anholt <eric@anholt.net> | 2015-07-02 13:50:42 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2015-07-10 09:42:58 -0700 |
commit | 0ca783e8ee5dfb086fbfa64d26173bcca78b4010 (patch) | |
tree | c9b9c57e6ed4702b2eac664609319ac45ea61573 | |
parent | c1111710628cc2a9dfaee0d74ea9fceee990095b (diff) |
glamor: Drop another dead function.
This hasn't been used since the format swap/revert stuff for pictures
was added back in 2012.
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
-rw-r--r-- | glamor/glamor_utils.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/glamor/glamor_utils.h b/glamor/glamor_utils.h index 59e6b6479..e22bbc1a4 100644 --- a/glamor/glamor_utils.h +++ b/glamor/glamor_utils.h @@ -936,13 +936,6 @@ glamor_is_large_pixmap(PixmapPtr pixmap) return (glamor_pixmap_priv_is_large(priv)); } -inline static Bool -glamor_tex_format_is_readable(GLenum format) -{ - return ((format == GL_RGBA || format == GL_RGB || format == GL_ALPHA)); - -} - static inline void _glamor_dump_pixmap_bits(PixmapPtr pixmap, int x, int y, int w, int h) { |