Commit ba0afd26 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

wineandroid: Use EqualRect() instead of memcmp().

parent e2ae9e3c
......@@ -1264,7 +1264,7 @@ BOOL CDECL ANDROID_UpdateLayeredWindow( HWND hwnd, const UPDATELAYEREDWINDOWINFO
surface = NULL;
}
if (!surface || memcmp( &surface->rect, &rect, sizeof(RECT) ))
if (!surface || !EqualRect( &surface->rect, &rect ))
{
data->surface = create_surface( data->hwnd, &rect, 255, color_key, TRUE );
if (surface) window_surface_release( surface );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment