From 91db9f8bd33be44e5605c5d86ba28234b4325966 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Wed, 31 Mar 2010 11:28:58 +0200 Subject: [PATCH] wined3d: Remove a redundant initialization in IWineD3DDeviceImpl_UpdateSurface(). --- 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 b6e80fbf6c1..c6f8d9bbb4d 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -5159,10 +5159,10 @@ static HRESULT WINAPI IWineD3DDeviceImpl_UpdateSurface(IWineD3DDevice *iface, IWineD3DDeviceImpl *This = (IWineD3DDeviceImpl *)iface; const struct wined3d_format_desc *src_format; const struct wined3d_format_desc *dst_format; - CONVERT_TYPES convert = NO_CONVERSION; struct wined3d_context *context; const unsigned char *data; UINT update_w, update_h; + CONVERT_TYPES convert; UINT src_w, src_h; UINT dst_x, dst_y; DWORD sampler;