mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-04-01 21:06:43 +00:00
Openxr vr clang fixes
This commit is contained in:
parent
d2dd01d514
commit
2a5e552fd0
2 changed files with 4 additions and 2 deletions
|
@ -41,6 +41,8 @@ namespace MWVR
|
||||||
, mPostDraw(new PostdrawCallback(this))
|
, mPostDraw(new PostdrawCallback(this))
|
||||||
, mVrShadow()
|
, mVrShadow()
|
||||||
, mConfigured(false)
|
, mConfigured(false)
|
||||||
|
, mMsaaResolveMirrorTexture{nullptr, nullptr}
|
||||||
|
, mMirrorTexture{ nullptr }
|
||||||
{
|
{
|
||||||
mViewer->setRealizeOperation(new RealizeOperation());
|
mViewer->setRealizeOperation(new RealizeOperation());
|
||||||
}
|
}
|
||||||
|
|
|
@ -92,8 +92,8 @@ namespace MWVR
|
||||||
osg::ref_ptr<PredrawCallback> mPreDraw{ nullptr };
|
osg::ref_ptr<PredrawCallback> mPreDraw{ nullptr };
|
||||||
osg::ref_ptr<PostdrawCallback> mPostDraw{ nullptr };
|
osg::ref_ptr<PostdrawCallback> mPostDraw{ nullptr };
|
||||||
osg::GraphicsContext* mMainCameraGC{ nullptr };
|
osg::GraphicsContext* mMainCameraGC{ nullptr };
|
||||||
std::unique_ptr<VRFramebuffer> mMsaaResolveMirrorTexture[2]{ };
|
std::unique_ptr<VRFramebuffer> mMsaaResolveMirrorTexture[2];
|
||||||
std::unique_ptr<VRFramebuffer> mMirrorTexture{ nullptr };
|
std::unique_ptr<VRFramebuffer> mMirrorTexture;
|
||||||
VrShadow mVrShadow;
|
VrShadow mVrShadow;
|
||||||
|
|
||||||
std::mutex mMutex{};
|
std::mutex mMutex{};
|
||||||
|
|
Loading…
Reference in a new issue