[Spice-devel] [PATCH 20/24] mingw32 build: add missing switch flags (nop)
Hans de Goede
hdegoede at redhat.com
Wed Dec 8 00:45:01 PST 2010
Ack.
On 12/07/2010 10:28 PM, Alon Levy wrote:
> ---
> 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,
More information about the Spice-devel
mailing list