Francois Gouget : d3d: Fix Validate(Pixel|Vertex)Shader() prototypes.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Mar 3 08:47:18 CST 2006


Module: wine
Branch: refs/heads/master
Commit: 339a4dbd5bc7383bce9aad1898f6c951e6d5f722
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=339a4dbd5bc7383bce9aad1898f6c951e6d5f722

Author: Francois Gouget <fgouget at free.fr>
Date:   Thu Mar  2 19:40:33 2006 +0100

d3d: Fix Validate(Pixel|Vertex)Shader() prototypes.

Fix Validate(Pixel|Vertex)Shader() prototypes so they match the spec file.
Fix the stub message so it is more standard and use consistent
parameter names.

---

 dlls/d3d8/d3d8_main.c |    8 ++++----
 dlls/d3d9/d3d9_main.c |    4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dlls/d3d8/d3d8_main.c b/dlls/d3d8/d3d8_main.c
index be37d41..67120ec 100644
--- a/dlls/d3d8/d3d8_main.c
+++ b/dlls/d3d8/d3d8_main.c
@@ -75,9 +75,9 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, 
  * PARAMS
  * toto       result?
  */
-BOOL WINAPI ValidateVertexShader(LPVOID pFunction, int foo, int bar, void *fee, int rab)
+BOOL WINAPI ValidateVertexShader(LPVOID pFunction, int param1, int param2, LPVOID toto)
 {
-  FIXME("(void): stub: %p %d %d %p %d\n", pFunction, foo, bar, fee, rab);
+  FIXME("(%p %d %d %p): stub\n", pFunction, param1, param2, toto);
   return TRUE;
 }
 
@@ -87,8 +87,8 @@ BOOL WINAPI ValidateVertexShader(LPVOID 
  * PARAMS
  * toto       result?
  */
-BOOL WINAPI ValidatePixelShader(LPVOID pFunction, int foo, int bar, void *fee, int rab)
+BOOL WINAPI ValidatePixelShader(LPVOID pFunction, int param1, int param2, LPVOID toto)
 {
-  FIXME("(void): stub: %p %d %d %p %d\n", pFunction, foo, bar, fee, rab);
+  FIXME("(%p %d %d %p): stub\n", pFunction, param1, param2, toto);
   return TRUE;
 }
diff --git a/dlls/d3d9/d3d9_main.c b/dlls/d3d9/d3d9_main.c
index e249a32..b2b758e 100644
--- a/dlls/d3d9/d3d9_main.c
+++ b/dlls/d3d9/d3d9_main.c
@@ -78,7 +78,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, 
  */
 BOOL WINAPI ValidateVertexShader(LPVOID pFunction, int param1, int param2, LPVOID toto)
 {
-  FIXME("(void): stub: %p %d %d %p\n", pFunction, param1, param2, toto);
+  FIXME("(%p %d %d %p): stub\n", pFunction, param1, param2, toto);
   return TRUE;
 }
 
@@ -90,6 +90,6 @@ BOOL WINAPI ValidateVertexShader(LPVOID 
  */
 BOOL WINAPI ValidatePixelShader(LPVOID pFunction, int param1, int param2, LPVOID toto)
 {
-  FIXME("(void): stub: %p %d %d %p\n", pFunction, param1, param2, toto);
+  FIXME("(%p %d %d %p): stub\n", pFunction, param1, param2, toto);
   return TRUE;
 }




More information about the wine-cvs mailing list