1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-21 16:09:41 +00:00

Merge branch 'openxr_vr_clang_fixes' into 'openxr_vr'

Openxr vr clang fixes

See merge request madsbuvi/openmw!11
This commit is contained in:
Mads Buvik Sandvei 2020-11-28 11:22:21 +00:00
commit 46cbb5dc74
2 changed files with 4 additions and 2 deletions

View file

@ -41,6 +41,8 @@ namespace MWVR
, mPostDraw(new PostdrawCallback(this))
, mVrShadow()
, mConfigured(false)
, mMsaaResolveMirrorTexture{nullptr, nullptr}
, mMirrorTexture{ nullptr }
{
mViewer->setRealizeOperation(new RealizeOperation());
}

View file

@ -92,8 +92,8 @@ namespace MWVR
osg::ref_ptr<PredrawCallback> mPreDraw{ nullptr };
osg::ref_ptr<PostdrawCallback> mPostDraw{ nullptr };
osg::GraphicsContext* mMainCameraGC{ nullptr };
std::unique_ptr<VRFramebuffer> mMsaaResolveMirrorTexture[2]{ };
std::unique_ptr<VRFramebuffer> mMirrorTexture{ nullptr };
std::unique_ptr<VRFramebuffer> mMsaaResolveMirrorTexture[2];
std::unique_ptr<VRFramebuffer> mMirrorTexture;
VrShadow mVrShadow;
std::mutex mMutex{};