Commit 4c39042a authored by Jason Edmeades's avatar Jason Edmeades Committed by Alexandre Julliard

Initialize the tex coord index correctly.

parent 9c34f04e
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment