Add GFXDevice::setupGenericShader for fix render on non FFP.

This commit is contained in:
LuisAntonRebollo 2014-11-08 00:58:10 +01:00
parent c354f59b72
commit cc16277ce6
4 changed files with 4 additions and 1 deletions

View file

@ -621,6 +621,7 @@ void GFXDrawUtil::drawLine( F32 x1, F32 y1, F32 z1, F32 x2, F32 y2, F32 z2, cons
mDevice->setVertexBuffer( verts );
mDevice->setStateBlock( mRectFillSB );
mDevice->setupGenericShaders();
mDevice->drawPrimitive( GFXLineList, 0, 1 );
}