diff --git a/src/rviz/ogre_helpers/render_system.cpp b/src/rviz/ogre_helpers/render_system.cpp index de0bcd1e71..3b92c94acc 100644 --- a/src/rviz/ogre_helpers/render_system.cpp +++ b/src/rviz/ogre_helpers/render_system.cpp @@ -367,8 +367,8 @@ Ogre::RenderWindow* RenderSystem::makeRenderWindow( // Set the macAPI for Ogre based on the Qt implementation #if defined(Q_OS_MAC) - parameters["macAPI"] = "cocoa"; - parameters["macAPICocoaUseNSView"] = "true"; + params["macAPI"] = "cocoa"; + params["macAPICocoaUseNSView"] = "true"; #endif params["contentScalingFactor"] = std::to_string(pixel_ratio);