wined3d: Remove some more unused code.

Henri Verbeet hverbeet at codeweavers.com
Thu Dec 11 04:52:37 CST 2008


---
 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);
     }
-- 
1.5.6.4



--------------000101060100060707080006--



More information about the wine-patches mailing list