Module: wine Branch: master Commit: f4005c371f5b9601ff04f8f5ff8651b60b618332 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f4005c371f5b9601ff04f8f5ff...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Fri Oct 16 10:38:39 2009 +0200
d3d8: Get rid of some unused variables in IDirect3DDevice8Impl_CopyRects() (LLVM/Clang).
---
dlls/d3d8/device.c | 9 --------- 1 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/dlls/d3d8/device.c b/dlls/d3d8/device.c index 7993fac..1dcf98b 100644 --- a/dlls/d3d8/device.c +++ b/dlls/d3d8/device.c @@ -882,9 +882,6 @@ static HRESULT WINAPI IDirect3DDevice8Impl_CopyRects(LPDIRECT3DDEVICE8 iface, ID
HRESULT hr = WINED3D_OK; WINED3DFORMAT srcFormat, destFormat; - UINT srcWidth, destWidth; - UINT srcHeight, destHeight; - UINT srcSize; WINED3DSURFACE_DESC winedesc;
TRACE("(%p) pSrcSur=%p, pSourceRects=%p, cRects=%d, pDstSur=%p, pDestPtsArr=%p\n", iface, @@ -896,14 +893,9 @@ static HRESULT WINAPI IDirect3DDevice8Impl_CopyRects(LPDIRECT3DDEVICE8 iface, ID wined3d_mutex_lock(); IWineD3DSurface_GetDesc(Source->wineD3DSurface, &winedesc); srcFormat = winedesc.format; - srcWidth = winedesc.width; - srcHeight = winedesc.height; - srcSize = winedesc.size;
IWineD3DSurface_GetDesc(Dest->wineD3DSurface, &winedesc); destFormat = winedesc.format; - destWidth = winedesc.width; - destHeight = winedesc.height;
/* Check that the source and destination formats match */ if (srcFormat != destFormat && WINED3DFMT_UNKNOWN != destFormat) { @@ -913,7 +905,6 @@ static HRESULT WINAPI IDirect3DDevice8Impl_CopyRects(LPDIRECT3DDEVICE8 iface, ID } else if (WINED3DFMT_UNKNOWN == destFormat) { TRACE("(%p) : Converting destination surface from WINED3DFMT_UNKNOWN to the source format\n", iface); IWineD3DSurface_SetFormat(Dest->wineD3DSurface, srcFormat); - destFormat = srcFormat; }
/* Quick if complete copy ... */