diff options
author | Mario Kleiner <mario.kleiner.de@gmail.com> | 2018-01-24 18:19:37 +0100 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2018-01-25 16:47:49 +0100 |
commit | 2d171c892d373b45ef9f1ee068648437e2529a78 (patch) | |
tree | 31f5dfa0d257ef5b320b10435f229cf043b3da07 | |
parent | 574bfab4bf1fcd95163a8f33cea2889189429d30 (diff) |
Add missing depth 30 -> cpp=4 handling for DRI2.
Missing this apparently didn't cause any ill side effects, only a bit of
confusion when looking at xtrace's of DRI2 clients.
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
-rw-r--r-- | src/radeon_dri2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c index 8376848c..9f373589 100644 --- a/src/radeon_dri2.c +++ b/src/radeon_dri2.c @@ -125,6 +125,7 @@ radeon_dri2_create_buffer2(ScreenPtr pScreen, cpp = 2; break; case 24: + case 30: cpp = 4; break; default: |