Stefan Dösinger : d3d8: Stream indices are WORDs.
Alexandre Julliard
julliard at winehq.org
Wed May 18 11:15:34 CDT 2011
Module: wine
Branch: master
Commit: 6867393614327df1067ca59ae3791b751fff0506
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6867393614327df1067ca59ae3791b751fff0506
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Thu May 12 22:00:37 2011 +0200
d3d8: Stream indices are WORDs.
---
dlls/d3d8/vertexdeclaration.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/d3d8/vertexdeclaration.c b/dlls/d3d8/vertexdeclaration.c
index 4994125..78a59d1 100644
--- a/dlls/d3d8/vertexdeclaration.c
+++ b/dlls/d3d8/vertexdeclaration.c
@@ -309,7 +309,7 @@ static UINT convert_to_wined3d_declaration(const DWORD *d3d8_elements, DWORD *d3
WINED3DVERTEXELEMENT *element;
D3DVSD_TOKENTYPE token_type;
unsigned int element_count = 0;
- DWORD stream = 0;
+ WORD stream = 0;
int offset = 0;
TRACE("d3d8_elements %p, wined3d_elements %p\n", d3d8_elements, wined3d_elements);
More information about the wine-cvs
mailing list