mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +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
|
|
@ -394,6 +394,7 @@ void GuiTextEditSliderCtrl::onRender(Point2I offset, const RectI &updateRect)
|
|||
verts.unlock();
|
||||
|
||||
GFX->setVertexBuffer( verts );
|
||||
GFX->setupGenericShaders();
|
||||
GFX->drawPrimitive( GFXTriangleList, 0, 2 );
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue