(try2)[PATCH 1/2] d3d10: Add a function to initialize the null variables.

Rico Schüller kgbricola at web.de
Mon Jan 4 14:54:12 CST 2010


Hi,

this is try 2 to initialize the null variables in d3d10 with a function 
and to parsing for anonymous shaders.

Improvements:

Patch1:
- remove redundant initialisations

Patch2:
- added a nicer way to allocate s
- return E_FAIL on the error out
- use a structure for anonymous shaders (which includes type and variable)
- check for a correct anonymous_shader_current in combination with 
anonymous_shader_count

Cheers
Rico


---
  dlls/d3d10/d3d10_main.c    |    1 +
  dlls/d3d10/d3d10_private.h |    2 +
  dlls/d3d10/effect.c        |   72 
++++++++++++++++++-------------------------
  3 files changed, 33 insertions(+), 42 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-d3d10-Add-a-function-to-initialize-the-null-variables.txt
Type: text/x-patch
Size: 7485 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100104/c5a0dc30/attachment.bin>


More information about the wine-patches mailing list