forked from enlightenment/efl
parent
2ce2e79087
commit
2e0a136385
|
@ -38,7 +38,7 @@ evas_software_ddraw_init (HWND window,
|
|||
pixel_format.dwSize = sizeof(pixel_format);
|
||||
buf->priv.dd.surface_primary->GetPixelFormat(&pixel_format);
|
||||
|
||||
if (pixel_format.dwRGBBitCount != depth)
|
||||
if (pixel_format.dwRGBBitCount != (DWORD)depth)
|
||||
goto release_object;
|
||||
|
||||
buf->priv.dd.depth = depth;
|
||||
|
@ -114,7 +114,7 @@ evas_software_ddraw_init (HWND window,
|
|||
pixel_format.dwSize = sizeof(pixel_format);
|
||||
buf->priv.dd.surface_primary->GetPixelFormat(&pixel_format);
|
||||
|
||||
if (pixel_format.dwRGBBitCount != depth)
|
||||
if (pixel_format.dwRGBBitCount != (DWORD)depth)
|
||||
goto release_surface_back;
|
||||
|
||||
buf->priv.dd.depth = depth;
|
||||
|
|
|
@ -281,7 +281,7 @@ evas_software_ddraw_outbuf_push_updated_region(Outbuf *buf,
|
|||
Outbuf_Region *obr;
|
||||
DATA32 *src_data;
|
||||
void *data;
|
||||
int bpl = 0, yy;
|
||||
int bpl = 0;
|
||||
|
||||
conv_func = NULL;
|
||||
obr = update->extended_info;
|
||||
|
|
Loading…
Reference in New Issue