wined3d: Get rid of some redundant assignments. (LLVM/Clang)
Henri Verbeet
hverbeet at codeweavers.com
Wed Oct 8 09:37:08 CDT 2008
---
dlls/wined3d/device.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c
index 6ba8bc0..445fbaa 100644
--- a/dlls/wined3d/device.c
+++ b/dlls/wined3d/device.c
@@ -821,8 +821,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateTexture(IWineD3DDevice *iface, U
object->baseTexture.pow2Matrix[15] = 1.0;
object->target = GL_TEXTURE_2D;
object->cond_np2 = TRUE;
- pow2Width = Width;
- pow2Height = Height;
object->baseTexture.minMipLookup = &minMipLookup_noFilter;
} else if(GL_SUPPORT(ARB_TEXTURE_RECTANGLE) &&
(Width != pow2Width || Height != pow2Height) &&
@@ -1058,7 +1056,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateCubeTexture(IWineD3DDevice *iface
unsigned int i, j;
UINT tmpW;
HRESULT hr;
- unsigned int pow2EdgeLength = EdgeLength;
+ unsigned int pow2EdgeLength;
const GlPixelFormatDesc *glDesc;
getFormatDescEntry(Format, &GLINFO_LOCATION, &glDesc);
--
1.5.6.4
--------------090102030504070202000303--
More information about the wine-patches
mailing list