summaryrefslogtreecommitdiff
path: root/glamor
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2018-12-19 10:11:22 +0100
committerMichel Dänzer <michel@daenzer.net>2018-12-21 09:47:45 +0100
commita3d01ee9d0b5e523b0771e2a26542ac15e29a33f (patch)
tree2f380efd6ce1edde0ed2dfe2ffa087c0aee32af7 /glamor
parent2e256e8260648619e407b1de70fe43cf32819247 (diff)
glamor: Remove unused format_for_pixmap helper
Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'glamor')
-rw-r--r--glamor/glamor_utils.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/glamor/glamor_utils.h b/glamor/glamor_utils.h
index 1890c1fe5..8a147ca7e 100644
--- a/glamor/glamor_utils.h
+++ b/glamor/glamor_utils.h
@@ -629,12 +629,6 @@ gl_iformat_for_pixmap(PixmapPtr pixmap)
}
}
-static inline CARD32
-format_for_pixmap(PixmapPtr pixmap)
-{
- return format_for_depth((pixmap)->drawable.depth);
-}
-
#define REVERT_NONE 0
#define REVERT_NORMAL 1
#define REVERT_UPLOADING_A1 3