[Spice-devel] [PATCH 20/24] mingw32 build: add missing switch flags (nop)
Alon Levy
alevy at redhat.com
Tue Dec 7 13:28:19 PST 2010
---
client/windows/red_pixmap_gdi.cpp | 6 +++++-
client/windows/red_pixmap_sw.cpp | 4 ++++
2 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/client/windows/red_pixmap_gdi.cpp b/client/windows/red_pixmap_gdi.cpp
index cf8190e..035618c 100644
--- a/client/windows/red_pixmap_gdi.cpp
+++ b/client/windows/red_pixmap_gdi.cpp
@@ -71,7 +71,11 @@ RedPixmapGdi::RedPixmapGdi(int width, int height, RedDrawable::Format format, bo
pixel_format[1] = 0x07e0;
pixel_format[2] = 0x001f;
break;
- }
+ case RedDrawable::ARGB32:
+ case RedDrawable::RGB32:
+ case RedDrawable::RGB16_555:
+ break;
+ }
AutoDC dc(create_compatible_dc());
AutoGDIObject bitmap(CreateDIBSection(dc.get(), &bitmap_info.inf, 0,
(VOID **)&_data, NULL, 0));
diff --git a/client/windows/red_pixmap_sw.cpp b/client/windows/red_pixmap_sw.cpp
index 1a76530..4d74da4 100644
--- a/client/windows/red_pixmap_sw.cpp
+++ b/client/windows/red_pixmap_sw.cpp
@@ -84,6 +84,10 @@ RedPixmapSw::RedPixmapSw(int width, int height, RedDrawable::Format format,
pixel_format[1] = 0x07e0;
pixel_format[2] = 0x001f;
break;
+ case RedDrawable::ARGB32:
+ case RedDrawable::RGB32:
+ case RedDrawable::RGB16_555:
+ break;
}
AutoDC dc(create_compatible_dc());
AutoGDIObject bitmap(CreateDIBSection(dc.get(), &bitmap_info.inf, 0,
--
1.7.3.2
More information about the Spice-devel
mailing list