Blame 0214-Remove-ifdef-QXL_COMMAND_FLAG_COMPAT_16BPP.patch

c8dfc6
From 666f88952fe1bcf84ba857f417a5d25f86bbf38b Mon Sep 17 00:00:00 2001
c8dfc6
From: =?UTF-8?q?S=C3=B8ren=20Sandmann=20Pedersen?= <ssp@redhat.com>
c8dfc6
Date: Tue, 4 Sep 2012 10:14:49 -0400
c8dfc6
Subject: [PATCH 214/215] Remove #ifdef QXL_COMMAND_FLAG_COMPAT_16BPP
c8dfc6
c8dfc6
We require spice >= 0.8 now, so this flag is always present.
c8dfc6
c8dfc6
Signed-off-by: Soren Sandmann <ssp@redhat.com>
c8dfc6
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
c8dfc6
---
c8dfc6
 hw/qxl.c | 2 --
c8dfc6
 1 file changed, 2 deletions(-)
c8dfc6
c8dfc6
diff --git a/hw/qxl.c b/hw/qxl.c
c8dfc6
index 2aa5848..b726c19 100644
c8dfc6
--- a/hw/qxl.c
c8dfc6
+++ b/hw/qxl.c
c8dfc6
@@ -1359,11 +1359,9 @@ static void qxl_set_mode(PCIQXLDevice *d, int modenr, int loadvm)
c8dfc6
 
c8dfc6
     d->mode = QXL_MODE_COMPAT;
c8dfc6
     d->cmdflags = QXL_COMMAND_FLAG_COMPAT;
c8dfc6
-#ifdef QXL_COMMAND_FLAG_COMPAT_16BPP /* new in spice 0.6.1 */
c8dfc6
     if (mode->bits == 16) {
c8dfc6
         d->cmdflags |= QXL_COMMAND_FLAG_COMPAT_16BPP;
c8dfc6
     }
c8dfc6
-#endif
c8dfc6
     d->shadow_rom.mode = cpu_to_le32(modenr);
c8dfc6
     d->rom->mode = cpu_to_le32(modenr);
c8dfc6
     qxl_rom_set_dirty(d);
c8dfc6
-- 
c8dfc6
1.7.12
c8dfc6