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