Skip to content

Commit

Permalink
Scale rendering window correctly on Windows (ros-visualization#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
greimela-si authored and wjwwood committed Sep 8, 2017
1 parent 24e7f29 commit d060a58
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rviz_rendering/src/rviz_rendering/render_system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,10 @@ RenderSystem::makeRenderWindow(
// Ogre::StringConverter::toString(static_cast<unsigned long>(window_id));
params["parentWindowHandle"] = Ogre::StringConverter::toString(window_id);

// Scale rendering window correctly on Windows
params["left"] = std::to_string(0);
params["top"] = std::to_string(0);

// params["externalGLControl"] = Ogre::String("true");

// Enable antialiasing
Expand Down

0 comments on commit d060a58

Please sign in to comment.