Module: wine Branch: master Commit: 6997c8d70c91bc19d5678776878d01fcada4ec6c URL: http://source.winehq.org/git/wine.git/?a=commit;h=6997c8d70c91bc19d567877687...
Author: Michael Stefaniuc mstefani@redhat.de Date: Sun Mar 28 23:51:07 2010 +0200
wined3d: Remove superfluous cast of zero.
---
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 897681d..9b63dd0 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -3054,7 +3054,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_GetVertexShaderConstantI( TRACE("(iface %p, dstData %p, start %d, count %d)\n", iface, dstData, start, count);
- if (dstData == NULL || ((signed int) MAX_CONST_I - (signed int) start) <= (signed int) 0) + if (dstData == NULL || ((signed int) MAX_CONST_I - (signed int) start) <= 0) return WINED3DERR_INVALIDCALL;
memcpy(dstData, &This->stateBlock->vertexShaderConstantI[start * 4], cnt * sizeof(int) * 4);