From f22be3afb1d9dfa4e517fe8dcd38aeb9716f5827 Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Mon, 16 May 2016 02:48:03 +0200 Subject: [PATCH] wined3d: Initialize a RECT to avoid compiler warnings. Signed-off-by: Michael Stefaniuc Signed-off-by: Henri Verbeet Signed-off-by: Alexandre Julliard --- dlls/wined3d/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index d1f77caa7be..fa336671e2e 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -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)