From 90dd416d005aaeadc72063745c3adc165a45efaa Mon Sep 17 00:00:00 2001 From: Mads Buvik Sandvei Date: Sun, 28 Jun 2020 13:02:12 +0200 Subject: [PATCH] Minor cleanup --- apps/openmw/mwworld/player.hpp | 1 - components/myguiplatform/myguirendermanager.cpp | 5 ----- 2 files changed, 6 deletions(-) diff --git a/apps/openmw/mwworld/player.hpp b/apps/openmw/mwworld/player.hpp index de0da2327..7f1c01408 100644 --- a/apps/openmw/mwworld/player.hpp +++ b/apps/openmw/mwworld/player.hpp @@ -58,7 +58,6 @@ namespace MWWorld bool mAttackingOrSpell; bool mJumping; - bool mPointing; public: diff --git a/components/myguiplatform/myguirendermanager.cpp b/components/myguiplatform/myguirendermanager.cpp index e76446610..c636208e8 100644 --- a/components/myguiplatform/myguirendermanager.cpp +++ b/components/myguiplatform/myguirendermanager.cpp @@ -590,11 +590,6 @@ void RenderManager::setViewSize(int width, int height) if(width < 1) width = 1; if(height < 1) height = 1; -////#ifdef USE_OPENXR -// width = 1024; -// height = 1024; -////#endif - mViewSize.set(width * mInvScalingFactor, height * mInvScalingFactor); for (auto* camera : mGuiCameras)