give afx the gfx cleanup treatment

This commit is contained in:
rextimmy 2021-01-05 18:22:19 +10:00
parent 6d71bec417
commit 028bf1df9b
9 changed files with 3 additions and 48 deletions

View file

@ -128,8 +128,6 @@ void afxZodiacPlane::_renderZodiacPlane(ObjectRenderInst *ri, SceneRenderState*
desc.zFunc = GFXCmpLessEqual;
desc.zWriteEnable = false;
desc.samplersDefined = true;
desc.samplers[0].textureColorOp = GFXTOPModulate;
desc.samplers[1].textureColorOp = GFXTOPDisable;
normal_sb = GFX->createStateBlock(desc);
if (mDataBlock->double_sided)