mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
Tidy up indentation in openvr changes
This commit is contained in:
parent
e6159a590a
commit
212ac36cc1
25 changed files with 2171 additions and 2172 deletions
|
|
@ -1597,7 +1597,6 @@ GFXVertexDecl* GFXD3D11Device::allocVertexDecl( const GFXVertexFormat *vertexFor
|
||||||
|
|
||||||
S32 elemIndex = 0;
|
S32 elemIndex = 0;
|
||||||
for (S32 i = 0; i < elemCount; i++, elemIndex++)
|
for (S32 i = 0; i < elemCount; i++, elemIndex++)
|
||||||
{
|
|
||||||
|
|
||||||
const GFXVertexElement &element = vertexFormat->getElement(elemIndex);
|
const GFXVertexElement &element = vertexFormat->getElement(elemIndex);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ void GFXDrawUtil::_setupStateBlocks()
|
||||||
bitmapStretchSR.setZReadWrite(false);
|
bitmapStretchSR.setZReadWrite(false);
|
||||||
bitmapStretchSR.setBlend(true, GFXBlendSrcAlpha, GFXBlendInvSrcAlpha);
|
bitmapStretchSR.setBlend(true, GFXBlendSrcAlpha, GFXBlendInvSrcAlpha);
|
||||||
bitmapStretchSR.samplersDefined = true;
|
bitmapStretchSR.samplersDefined = true;
|
||||||
bitmapStretchSR.setColorWrites(true, true, true, false);
|
bitmapStretchSR.setColorWrites(true, true, true, false); // NOTE: comment this out if alpha write is needed
|
||||||
|
|
||||||
// Linear: Create wrap SB
|
// Linear: Create wrap SB
|
||||||
bitmapStretchSR.samplers[0] = GFXSamplerStateDesc::getWrapLinear();
|
bitmapStretchSR.samplers[0] = GFXSamplerStateDesc::getWrapLinear();
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ FontRenderBatcher::FontRenderBatcher() : mStorage(8096)
|
||||||
// so it may have to change. -bramage
|
// so it may have to change. -bramage
|
||||||
f.samplers[0].textureColorOp = GFXTOPAdd;
|
f.samplers[0].textureColorOp = GFXTOPAdd;
|
||||||
|
|
||||||
f.setColorWrites(true, true, true, false);
|
f.setColorWrites(true, true, true, false); // NOTE: comment this out if alpha write is needed
|
||||||
mFontSB = GFX->createStateBlock(f);
|
mFontSB = GFX->createStateBlock(f);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue