From ef68e32b0362f8526492c10b2f5e2e73c104acb4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stefan=20D=C3=B6singer?= Date: Mon, 19 Feb 2007 15:19:19 +0100 Subject: [PATCH] wined3d/d3d8: Move todo about sw vp usage to d3d8. --- dlls/d3d8/device.c | 2 +- dlls/wined3d/device.c | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/dlls/d3d8/device.c b/dlls/d3d8/device.c index ee8d162b8d..95a1331a9a 100644 --- a/dlls/d3d8/device.c +++ b/dlls/d3d8/device.c @@ -1257,7 +1257,7 @@ static HRESULT WINAPI IDirect3DDevice8Impl_CreateVertexShader(LPDIRECT3DDEVICE8 } wined3d_vertex_declaration = ((IDirect3DVertexDeclaration8Impl *)object->vertex_declaration)->wined3d_vertex_declaration; - /* Usage is missing ..*/ + /* Usage is missing ... Use SetRenderState to set the sw vp render state in SetVertexShader */ hrc = IWineD3DDevice_CreateVertexShader(This->WineD3DDevice, wined3d_vertex_declaration, pFunction, &object->wineD3DVertexShader, (IUnknown *)object); if (FAILED(hrc)) { diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index 510a32ce17..92f7176098 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -1586,15 +1586,6 @@ static HRESULT WINAPI IWineD3DDeviceImpl_CreateVertexShader(IWineD3DDevice *ifac return WINED3DERR_INVALIDCALL; } -#if 0 /* TODO: In D3D* SVP is atatched to the shader, in D3D9 it's attached to the device and isn't stored in the stateblock. */ - if(Usage == WINED3DUSAGE_SOFTWAREVERTEXPROCESSING) { - /* Foo */ - } else { - /* Bar */ - } - -#endif - return WINED3D_OK; } -- 2.32.0.93.g670b81a890