mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
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:
parent
513789c2c7
commit
26fd24fbab
43 changed files with 35 additions and 356 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue