Removes bits of code and includes that are based on old 360, xbox and PS3 flags that are no longer needed.

This commit is contained in:
Areloch 2017-04-08 20:30:57 -05:00
parent 513789c2c7
commit 26fd24fbab
43 changed files with 35 additions and 356 deletions

View file

@ -1180,19 +1180,6 @@ void PostEffect::process( const SceneRenderState *state,
if ( mTargetTex || mTargetDepthStencil )
{
#ifdef TORQUE_OS_XENON
// You may want to disable this functionality for speed reasons as it does
// add some overhead. The upside is it makes things "just work". If you
// re-work your post-effects properly, this is not needed.
//
// If this post effect doesn't alpha blend to the back-buffer, than preserve
// the active render target contents so they are still around the next time
// that render target activates
if(!mStateBlockData->getState().blendEnable)
GFX->getActiveRenderTarget()->preserve();
#endif
const RectI &oldViewport = GFX->getViewport();
GFXTarget *oldTarget = GFX->getActiveRenderTarget();