[wined3d] Corrected definition for parameters (Coverity)

Paul Vriens Paul.Vriens at xs4all.nl
Tue May 16 01:44:43 CDT 2006


Hi,

don't know anything about wined3d, but the code in
IWineD3DVertexShaderImpl_ExecuteSW could make use of 6 parameters. The
definitions should cover this.

Changelog
  Correctly defined the number of possible parameters

Cheers,

Paul

diff --git a/dlls/wined3d/vertexshader.c b/dlls/wined3d/vertexshader.c
index 13bc981..7325032 100644
--- a/dlls/wined3d/vertexshader.c
+++ b/dlls/wined3d/vertexshader.c
@@ -1123,8 +1123,8 @@ HRESULT WINAPI IWineD3DVertexShaderImpl_
     const DWORD* pToken = This->baseShader.function;
     const SHADER_OPCODE* curOpcode = NULL;
     /** functions parameters */
-    WINED3DSHADERVECTOR* p[4];
-    WINED3DSHADERVECTOR* p_send[4];
+    WINED3DSHADERVECTOR* p[6];
+    WINED3DSHADERVECTOR* p_send[6];
     DWORD i;

     /** init temporary register */





More information about the wine-patches mailing list