GCC fixes

pull/615/head
madsbuvi 4 years ago
parent eb4f393568
commit 2b7f94aa5d

@ -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();

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

@ -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

Loading…
Cancel
Save