[PATCH 1/2] Add missing depth 30 -> cpp=4 handling for DRI2.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 at gmail.com>
---
 src/radeon_dri2.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c
index b569bb4..6dce2c1 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:
-- 
2.7.4



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux