diff --git a/dlls/d3d8/d3d8.spec b/dlls/d3d8/d3d8.spec index 07f25cb0069..bc82cd099da 100644 --- a/dlls/d3d8/d3d8.spec +++ b/dlls/d3d8/d3d8.spec @@ -1,5 +1,5 @@ @ stdcall D3D8GetSWInfo() @ stdcall DebugSetMute() @ stdcall Direct3DCreate8(long) -@ stdcall ValidatePixelShader(ptr ptr) -@ stdcall ValidateVertexShader(ptr) +@ stdcall ValidatePixelShader(ptr long long ptr) +@ stdcall ValidateVertexShader(ptr long long ptr) diff --git a/dlls/d3d8/shader.c b/dlls/d3d8/shader.c index a57e8123bd0..0692fd94f5c 100644 --- a/dlls/d3d8/shader.c +++ b/dlls/d3d8/shader.c @@ -2365,15 +2365,17 @@ HRESULT WINAPI IDirect3DPixelShaderImpl_GetConstantF(IDirect3DPixelShaderImpl* T /*********************************************************************** * ValidateVertexShader (D3D8.@) */ -BOOL WINAPI ValidateVertexShader(LPVOID what) { - FIXME("(void): stub: %p\n", what); - return 0; +BOOL WINAPI ValidateVertexShader(LPVOID pFunction, int param1, int param2, LPVOID toto/* result? */) { + + FIXME("(void): stub: pFunction %p, param1 %d, param2 %d, result? %p\n", pFunction, param1, param2, toto); + return 0; } /*********************************************************************** - * ValidatePixelShader (D3D8.@) - */ -BOOL WINAPI ValidatePixelShader(LPVOID what, LPVOID toto) { - FIXME("(void): stub: %p %p\n", what, toto); - return TRUE; + * * ValidatePixelShader (D3D8.@) + * */ +BOOL WINAPI ValidatePixelShader(LPVOID pFunction, int param1, int param2, LPVOID toto/* result? */) { + + FIXME("(void): stub: pFunction %p, param1 %d, param2 %d, result? %p\n", pFunction, param1, param2, toto); + return TRUE; }