wined3d: Initialize a RECT to avoid compiler warnings.

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2016-05-16 02:48:03 +02:00 committed by Alexandre Julliard
parent e6199d6640
commit f22be3afb1

View file

@ -302,7 +302,7 @@ void device_clear_render_targets(struct wined3d_device *device, UINT rt_count, c
GLbitfield clear_mask = 0;
BOOL render_offscreen;
unsigned int i;
RECT ds_rect;
RECT ds_rect = {0};
context = context_acquire(device, target);
if (!context->valid)