Initialize the tex coord index correctly.

This commit is contained in:
Jason Edmeades 2003-05-13 23:40:20 +00:00 committed by Alexandre Julliard
parent 9c34f04e1e
commit 4c39042acd
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ HRESULT WINAPI IDirect3DDeviceImpl_InitStartupStateBlock(IDirect3DDevice8Impl* T
This->StateBlock->texture_state[i][D3DTSS_BUMPENVMAT01 ] = (DWORD) 0.0;
This->StateBlock->texture_state[i][D3DTSS_BUMPENVMAT10 ] = (DWORD) 0.0;
This->StateBlock->texture_state[i][D3DTSS_BUMPENVMAT11 ] = (DWORD) 0.0;
/* FIXME: This->StateBlock->texture_state[i][D3DTSS_TEXCOORDINDEX ] = ?; */
This->StateBlock->texture_state[i][D3DTSS_TEXCOORDINDEX ] = i;
This->StateBlock->texture_state[i][D3DTSS_ADDRESSU ] = D3DTADDRESS_WRAP;
This->StateBlock->texture_state[i][D3DTSS_ADDRESSV ] = D3DTADDRESS_WRAP;
This->StateBlock->texture_state[i][D3DTSS_BORDERCOLOR ] = 0x00;