diff options
Diffstat (limited to 'recipes-graphics/xorg-xserver/xserver-xorg/0004-glamor-Remove-unused-format_for_pixmap-helper.patch')
-rw-r--r-- | recipes-graphics/xorg-xserver/xserver-xorg/0004-glamor-Remove-unused-format_for_pixmap-helper.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/recipes-graphics/xorg-xserver/xserver-xorg/0004-glamor-Remove-unused-format_for_pixmap-helper.patch b/recipes-graphics/xorg-xserver/xserver-xorg/0004-glamor-Remove-unused-format_for_pixmap-helper.patch new file mode 100644 index 00000000..c116576f --- /dev/null +++ b/recipes-graphics/xorg-xserver/xserver-xorg/0004-glamor-Remove-unused-format_for_pixmap-helper.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 69892ca6a623057ed4e3be0c22cb7fd812425024 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Michel=20D=C3=A4nzer?= <michel.daenzer@amd.com> | ||
3 | Date: Wed, 19 Dec 2018 10:11:22 +0100 | ||
4 | Subject: [PATCH 4/8] glamor: Remove unused format_for_pixmap helper | ||
5 | |||
6 | Upstream-Status: Backport | ||
7 | Reviewed-by: Eric Anholt <eric@anholt.net> | ||
8 | --- | ||
9 | glamor/glamor_utils.h | 6 ------ | ||
10 | 1 file changed, 6 deletions(-) | ||
11 | |||
12 | diff --git a/glamor/glamor_utils.h b/glamor/glamor_utils.h | ||
13 | index 1890c1fe5..8a147ca7e 100644 | ||
14 | --- a/glamor/glamor_utils.h | ||
15 | +++ b/glamor/glamor_utils.h | ||
16 | @@ -629,12 +629,6 @@ gl_iformat_for_pixmap(PixmapPtr pixmap) | ||
17 | } | ||
18 | } | ||
19 | |||
20 | -static inline CARD32 | ||
21 | -format_for_pixmap(PixmapPtr pixmap) | ||
22 | -{ | ||
23 | - return format_for_depth((pixmap)->drawable.depth); | ||
24 | -} | ||
25 | - | ||
26 | #define REVERT_NONE 0 | ||
27 | #define REVERT_NORMAL 1 | ||
28 | #define REVERT_UPLOADING_A1 3 | ||
29 | -- | ||
30 | 2.17.1 | ||
31 | |||