mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-07 11:14:08 +03:00
Render MyGUI in background thread, i.e. refactor to get rid of DYNAMIC DataVariance
This commit is contained in:
parent
ee60df1e27
commit
100d6e5fff
3 changed files with 26 additions and 16 deletions
|
@ -144,8 +144,6 @@ namespace MWRender
|
|||
zNear = 5.f;
|
||||
zFar = mViewDistance;
|
||||
mViewer.getCamera()->setProjectionMatrixAsPerspective(fovy, aspect, zNear, zFar);
|
||||
|
||||
mViewer.getCamera()->setCullMask(mViewer.getCamera()->getCullMask() & (~Mask_GUI));
|
||||
}
|
||||
|
||||
RenderingManager::~RenderingManager()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue