From 973beeac54fd3872a8a81fa0571c1397810e4ba5 Mon Sep 17 00:00:00 2001 From: Ian Chen Date: Fri, 29 Oct 2021 17:25:46 -0700 Subject: [PATCH] revert change Signed-off-by: Ian Chen --- ogre2/src/Ogre2Camera.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ogre2/src/Ogre2Camera.cc b/ogre2/src/Ogre2Camera.cc index 851a8c940..7ac4c9923 100644 --- a/ogre2/src/Ogre2Camera.cc +++ b/ogre2/src/Ogre2Camera.cc @@ -259,11 +259,7 @@ VisualPtr Ogre2Camera::VisualAt(const ignition::math::Vector2i &_mousePos) this->ImageWidth(), this->ImageHeight()); } -#ifdef __APPLE__ - float ratio = 1.0f; -#else float ratio = screenScalingFactor(); -#endif ignition::math::Vector2i mousePos( static_cast(std::rint(ratio * _mousePos.X())),