mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Fix blockiness when drawing to gui overlays using standard draw commands
This commit is contained in:
parent
734688ff7e
commit
a83afa07ea
2 changed files with 3 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ void GFXDrawUtil::_setupStateBlocks()
|
|||
bitmapStretchSR.setZReadWrite(false);
|
||||
bitmapStretchSR.setBlend(true, GFXBlendSrcAlpha, GFXBlendInvSrcAlpha);
|
||||
bitmapStretchSR.samplersDefined = true;
|
||||
bitmapStretchSR.setColorWrites(true, true, true, false);
|
||||
|
||||
// Linear: Create wrap SB
|
||||
bitmapStretchSR.samplers[0] = GFXSamplerStateDesc::getWrapLinear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue