Module: wine Branch: master Commit: f22be3afb1d9dfa4e517fe8dcd38aeb9716f5827 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f22be3afb1d9dfa4e517fe8dcd... Author: Michael Stefaniuc <mstefani(a)redhat.de> Date: Mon May 16 02:48:03 2016 +0200 wined3d: Initialize a RECT to avoid compiler warnings. Signed-off-by: Michael Stefaniuc <mstefani(a)redhat.de> Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- 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 d1f77ca..fa33667 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)