Henri Verbeet : wined3d: Remove a redundant initialization in IWineD3DDeviceImpl_UpdateSurface().
Alexandre Julliard
julliard at winehq.org
Wed Mar 31 10:04:53 CDT 2010
Module: wine
Branch: master
Commit: 91db9f8bd33be44e5605c5d86ba28234b4325966
URL: http://source.winehq.org/git/wine.git/?a=commit;h=91db9f8bd33be44e5605c5d86ba28234b4325966
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Wed Mar 31 11:28:58 2010 +0200
wined3d: Remove a redundant initialization in IWineD3DDeviceImpl_UpdateSurface().
---
dlls/wined3d/device.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index b6e80fb..c6f8d9b 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;
More information about the wine-cvs
mailing list