mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Removed old fixed function code from GFX.
This commit is contained in:
parent
58d2e30af7
commit
5a933c00d3
53 changed files with 98 additions and 1646 deletions
|
|
@ -125,9 +125,6 @@ GFXStateBlockRef RenderTranslucentMgr::_getStateBlock( U8 transFlag )
|
|||
d.zWriteEnable = false;
|
||||
d.samplersDefined = true;
|
||||
d.samplers[0] = GFXSamplerStateDesc::getClampLinear();
|
||||
d.samplers[0].alphaOp = GFXTOPModulate;
|
||||
d.samplers[0].alphaArg1 = GFXTATexture;
|
||||
d.samplers[0].alphaArg2 = GFXTADiffuse;
|
||||
|
||||
mStateBlocks[transFlag] = GFX->createStateBlock(d);
|
||||
return mStateBlocks[transFlag];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue