wined3d: Remove superfluous cast of zero.

This commit is contained in:
Michael Stefaniuc 2010-03-28 23:51:07 +02:00 committed by Alexandre Julliard
parent bf00cd3380
commit 6997c8d70c
1 changed files with 1 additions and 1 deletions

View File

@ -3054,7 +3054,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_GetVertexShaderConstantI(
TRACE("(iface %p, dstData %p, start %d, count %d)\n", TRACE("(iface %p, dstData %p, start %d, count %d)\n",
iface, dstData, start, count); 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; return WINED3DERR_INVALIDCALL;
memcpy(dstData, &This->stateBlock->vertexShaderConstantI[start * 4], cnt * sizeof(int) * 4); memcpy(dstData, &This->stateBlock->vertexShaderConstantI[start * 4], cnt * sizeof(int) * 4);