mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-18 22:23:48 +00:00
Merge pull request #502 from DavidWyand-GG/OculusRiftUpdate
Viewport Fix for Glow PostFX
This commit is contained in:
commit
6719b55fbd
1 changed files with 3 additions and 0 deletions
|
|
@ -151,6 +151,9 @@ void RenderGlowMgr::render( SceneRenderState *state )
|
|||
|
||||
GFXTransformSaver saver;
|
||||
|
||||
// Respect the current viewport
|
||||
mNamedTarget.setViewport(GFX->getViewport());
|
||||
|
||||
// Tell the superclass we're about to render, preserve contents
|
||||
const bool isRenderingToTarget = _onPreRender( state, true );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue