Module: wine Branch: master Commit: 9541c346b3232f6d1aea79172f769d3d21f1a69c URL: http://source.winehq.org/git/wine.git/?a=commit;h=9541c346b3232f6d1aea79172f...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Thu Dec 11 11:52:37 2008 +0100
wined3d: Remove some more unused code.
---
dlls/wined3d/pixelshader.c | 3 --- dlls/wined3d/vertexshader.c | 3 --- 2 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/dlls/wined3d/pixelshader.c b/dlls/wined3d/pixelshader.c index f8dd4a3..969d25a 100644 --- a/dlls/wined3d/pixelshader.c +++ b/dlls/wined3d/pixelshader.c @@ -119,9 +119,6 @@ static HRESULT WINAPI IWineD3DPixelShaderImpl_GetFunction(IWineD3DPixelShader* TRACE("(%p) : GetFunction no User Function defined using NULL to %p\n", This, pData); (*(DWORD **) pData) = NULL; } else { - if (This->baseShader.functionLength == 0) { - - } TRACE("(%p) : GetFunction copying to %p\n", This, pData); memcpy(pData, This->baseShader.function, This->baseShader.functionLength); } diff --git a/dlls/wined3d/vertexshader.c b/dlls/wined3d/vertexshader.c index e153a1f..4f87241 100644 --- a/dlls/wined3d/vertexshader.c +++ b/dlls/wined3d/vertexshader.c @@ -415,9 +415,6 @@ static HRESULT WINAPI IWineD3DVertexShaderImpl_GetFunction(IWineD3DVertexShader* TRACE("(%p) : GetFunction no User Function defined using NULL to %p\n", This, pData); (*(DWORD **) pData) = NULL; } else { - if(This->baseShader.functionLength == 0){ - - } TRACE("(%p) : GetFunction copying to %p\n", This, pData); memcpy(pData, This->baseShader.function, This->baseShader.functionLength); }