summaryrefslogtreecommitdiffstats
path: root/client/windows
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2010-12-06 18:00:52 +0200
committerAlon Levy <alevy@redhat.com>2010-12-08 17:12:56 +0200
commit8bea5d6b5a8ce4fa11363ced501f7607ad12b8ba (patch)
tree4a3985d8ff4560573f5e45861993af8b67da9c1c /client/windows
parenta19080980d55b8006d6322b29684717c928d9d1a (diff)
downloadspice-8bea5d6b5a8ce4fa11363ced501f7607ad12b8ba.tar.gz
spice-8bea5d6b5a8ce4fa11363ced501f7607ad12b8ba.tar.xz
spice-8bea5d6b5a8ce4fa11363ced501f7607ad12b8ba.zip
mingw32 build: add missing switch flags (nop)
Diffstat (limited to 'client/windows')
-rw-r--r--client/windows/red_pixmap_gdi.cpp6
-rw-r--r--client/windows/red_pixmap_sw.cpp4
2 files changed, 9 insertions, 1 deletions
diff --git a/client/windows/red_pixmap_gdi.cpp b/client/windows/red_pixmap_gdi.cpp
index cf8190e0..035618c2 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 1a76530a..4d74da40 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,