wined3d: Remove a redundant initialization in IWineD3DDeviceImpl_UpdateSurface().

This commit is contained in:
Henri Verbeet 2010-03-31 11:28:58 +02:00 committed by Alexandre Julliard
parent 3af0909693
commit 91db9f8bd3

View File

@ -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;