1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 19:29:09 +00:00

Update the FOV when using plCaptureRender

This commit is contained in:
2013-12-06 21:55:30 -05:00
parent 2d8d42759d
commit 2cecbc9f2f
3 changed files with 20 additions and 13 deletions

View File

@ -54,6 +54,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "hsResMgr.h"
#include "pnKeyedObject/plUoid.h"
#include "pfCamera/plVirtualCamNeu.h"
#include "pfGameGUIMgr/pfGameGUIMgr.h"
#else // MF_FRONTBUFF_CAPTURE
@ -89,12 +90,14 @@ void plCaptureRenderRequest::Render(plPipeline* pipe, plPageTreeMgr* pageMgr)
// Clear our render target
// Render the scene
pipe->PushRenderRequest(this);
plVirtualCam1::Refresh();
pipe->ClearRenderTarget();
pageMgr->Render(pipe);
pipe->PopRenderRequest(this);
plVirtualCam1::Refresh();
// set up state so we can clear the z-buffer for every gui dialog (and therefore not have it
// be obscured by other geometry)