mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-22 08:03:45 +00:00
Add GFXDevice::setupGenericShader for fix render on non FFP.
This commit is contained in:
parent
c354f59b72
commit
cc16277ce6
4 changed files with 4 additions and 1 deletions
|
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue