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

Francois Gouget fgouget at free.fr
Thu Mar 2 12:40:33 CST 2006


Changelog:

  * dlls/d3d8/d3d8_main.c
    dlls/d3d9/d3d9_main.c

    Francois Gouget <fgouget at free.fr>
    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.

-- 
Francois Gouget <fgouget at free.fr>              http://fgouget.free.fr/
            Cahn's Axiom: When all else fails, read the instructions.
-------------- next part --------------
Index: dlls/d3d8/d3d8_main.c
===================================================================
RCS file: /home/wine/wine/dlls/d3d8/d3d8_main.c,v
retrieving revision 1.25
diff -u -p -r1.25 d3d8_main.c
--- dlls/d3d8/d3d8_main.c	27 Feb 2006 15:34:43 -0000	1.25
+++ dlls/d3d8/d3d8_main.c	2 Mar 2006 14:48:15 -0000
@@ -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 %d): 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;
 }
Index: dlls/d3d9/d3d9_main.c
===================================================================
RCS file: /home/wine/wine/dlls/d3d9/d3d9_main.c,v
retrieving revision 1.9
diff -u -p -r1.9 d3d9_main.c
--- dlls/d3d9/d3d9_main.c	26 Sep 2005 09:52:56 -0000	1.9
+++ dlls/d3d9/d3d9_main.c	2 Mar 2006 14:48:15 -0000
@@ -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-patches mailing list