Merge pull request #608 from BeamNG/use_gfxdevice_setupgenericshaders

Use GFXDevice::setupGenericShaders for support non Fixed Fuction Pipelines.
This commit is contained in:
LuisAntonRebollo 2014-11-30 02:20:00 +01:00
commit 1c95ce21d6
12 changed files with 14 additions and 16 deletions

View file

@ -331,7 +331,7 @@ void BlobShadow::render( F32 camDist, const TSRenderState &rdata )
world.mul(mLightToWorld);
GFX->setWorldMatrix(world);
GFX->disableShaders();
GFX->setupGenericShaders(GFXDevice::GSModColorTexture);
GFX->setStateBlock(mShadowSB);
GFX->setTexture(0, smGenericShadowTexture);