d3d8: Stream indices are WORDs.

This commit is contained in:
Stefan Dösinger 2011-05-12 22:00:37 +02:00 committed by Alexandre Julliard
parent e55b3bef0f
commit 6867393614
1 changed files with 1 additions and 1 deletions

View File

@ -309,7 +309,7 @@ static UINT convert_to_wined3d_declaration(const DWORD *d3d8_elements, DWORD *d3
WINED3DVERTEXELEMENT *element; WINED3DVERTEXELEMENT *element;
D3DVSD_TOKENTYPE token_type; D3DVSD_TOKENTYPE token_type;
unsigned int element_count = 0; unsigned int element_count = 0;
DWORD stream = 0; WORD stream = 0;
int offset = 0; int offset = 0;
TRACE("d3d8_elements %p, wined3d_elements %p\n", d3d8_elements, wined3d_elements); TRACE("d3d8_elements %p, wined3d_elements %p\n", d3d8_elements, wined3d_elements);