Skip to content

Commit

Permalink
Merge pull request #2415 from ace20022/undertaker
Browse files Browse the repository at this point in the history
Bury dead code
  • Loading branch information
Arne Morten Kvarving committed Mar 16, 2013
2 parents f24b21f + f13f2c3 commit 1a695c3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions xbmc/guilib/GUIFontTTFDX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,8 @@ void CGUIFontTTFDX::Begin()
{
pD3DDevice->SetTextureStageState( unit, D3DTSS_COLOROP , D3DTOP_ADD );
pD3DDevice->SetTextureStageState( unit, D3DTSS_COLORARG1, D3DTA_CURRENT) ;
#if(1)
pD3DDevice->SetRenderState( D3DRS_TEXTUREFACTOR, D3DCOLOR_RGBA(16,16,16,0) );
pD3DDevice->SetTextureStageState( unit, D3DTSS_COLORARG2, D3DTA_TFACTOR );
#else
pD3DDevice->SetTextureStageState( unit, D3DTSS_CONSTANT , D3DCOLOR_RGBA(16,16,16,0) );
pD3DDevice->SetTextureStageState( unit, D3DTSS_COLORARG2, D3DTA_CONSTANT );
#endif
unit++;
}

Expand Down
5 changes: 0 additions & 5 deletions xbmc/guilib/GUITextureD3D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,8 @@ void CGUITextureD3D::Begin(color_t color)
, GET_A(color));
p3DDevice->SetTextureStageState( unit, D3DTSS_COLOROP , D3DTOP_ADD );
p3DDevice->SetTextureStageState( unit, D3DTSS_COLORARG1, D3DTA_CURRENT) ;
#if(1)
p3DDevice->SetRenderState( D3DRS_TEXTUREFACTOR, D3DCOLOR_RGBA(16,16,16, 0) );
p3DDevice->SetTextureStageState( unit, D3DTSS_COLORARG2, D3DTA_TFACTOR );
#else
p3DDevice->SetTextureStageState( unit, D3DTSS_CONSTANT , D3DCOLOR_RGBA(16,16,16, 0) );
p3DDevice->SetTextureStageState( unit, D3DTSS_COLORARG2, D3DTA_CONSTANT );
#endif
unit++;
}
else
Expand Down

0 comments on commit 1a695c3

Please sign in to comment.