From 0ca783e8ee5dfb086fbfa64d26173bcca78b4010 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 2 Jul 2015 13:50:42 -0700 Subject: glamor: Drop another dead function. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This hasn't been used since the format swap/revert stuff for pictures was added back in 2012. Signed-off-by: Eric Anholt Reviewed-by: Michel Dänzer Reviewed-by: Dave Airlie --- glamor/glamor_utils.h | 7 ------- 1 file changed, 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) { -- cgit v1.2.3