1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 20:49:56 +00:00

Openxr vr clang fixes

This commit is contained in:
Mads Buvik Sandvei 2020-11-28 11:22:21 +00:00
parent d2dd01d514
commit 2a5e552fd0
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{};