1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 10:53:51 +00:00

GCC fixes

This commit is contained in:
madsbuvi 2021-01-10 17:26:38 +01:00
parent eb4f393568
commit 2b7f94aa5d
3 changed files with 3 additions and 5 deletions

View file

@ -40,10 +40,10 @@ namespace MWVR
virtual ~VRInputManager(); virtual ~VRInputManager();
/// Overriden to force vr modes such as hiding cursors and crosshairs /// Overriden to force vr modes such as hiding cursors and crosshairs
virtual void changeInputMode(bool guiMode); void changeInputMode(bool guiMode) override;
/// Overriden to update XR inputs /// Overriden to update XR inputs
virtual void update(float dt, bool disableControls = false, bool disableEvents = false); void update(float dt, bool disableControls = false, bool disableEvents = false) override;
/// Set current offset to 0 and re-align VR stage. /// Set current offset to 0 and re-align VR stage.
void requestRecenter(); void requestRecenter();

View file

@ -20,8 +20,6 @@
#include <components/sdlutil/sdlgraphicswindow.hpp> #include <components/sdlutil/sdlgraphicswindow.hpp>
#include <Windows.h>
namespace MWVR namespace MWVR
{ {

View file

@ -79,7 +79,7 @@ namespace Misc
//! Default implementation of UpdateViewCallback that just provides some hardcoded values for debugging purposes //! Default implementation of UpdateViewCallback that just provides some hardcoded values for debugging purposes
struct DefaultUpdateViewCallback : public UpdateViewCallback struct DefaultUpdateViewCallback : public UpdateViewCallback
{ {
virtual void updateView(View& left, View& right); void updateView(View& left, View& right) override;
}; };
enum class Technique enum class Technique