Clear the second texture stage explicitly
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402038
This commit is contained in:
parent
1b733db29c
commit
2bd62ed521
1 changed files with 5 additions and 0 deletions
|
@ -400,6 +400,11 @@ D3D_CreateRenderer(SDL_Window * window, Uint32 flags)
|
|||
D3DTA_TEXTURE);
|
||||
IDirect3DDevice9_SetTextureStageState(data->device, 0, D3DTSS_ALPHAARG2,
|
||||
D3DTA_DIFFUSE);
|
||||
/* Disable second texture stage, since we're done */
|
||||
IDirect3DDevice9_SetTextureStageState(data->device, 1, D3DTSS_COLOROP,
|
||||
D3DTOP_DISABLE);
|
||||
IDirect3DDevice9_SetTextureStageState(data->device, 1, D3DTSS_ALPHAOP,
|
||||
D3DTOP_DISABLE);
|
||||
|
||||
return renderer;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue