mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-22 12:55:34 +00:00
Merge pull request #608 from BeamNG/use_gfxdevice_setupgenericshaders
Use GFXDevice::setupGenericShaders for support non Fixed Fuction Pipelines.
This commit is contained in:
commit
1c95ce21d6
12 changed files with 14 additions and 16 deletions
|
|
@ -245,7 +245,7 @@ void GuiTerrPreviewCtrl::onRender(Point2I offset, const RectI &updateRect)
|
|||
for(U32 i = 0; i < GFX->getNumSamplers(); i++)
|
||||
GFX->setTexture(i, NULL);
|
||||
|
||||
GFX->disableShaders();
|
||||
GFX->setupGenericShaders(GFXDevice::GSModColorTexture);
|
||||
|
||||
Point2F terrPos(terrBlock->getPosition().x, terrBlock->getPosition().y);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue