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