Skip to content

Commit

Permalink
Migrate warning
Browse files Browse the repository at this point in the history
Signed-off-by: methylDragon <[email protected]>
  • Loading branch information
methylDragon committed Jun 28, 2022
1 parent 9709535 commit 758c914
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/plugins/minimal_scene/MinimalScene.cc
Original file line number Diff line number Diff line change
Expand Up @@ -631,14 +631,14 @@ void IgnRenderer::SetGraphicsAPI(const rendering::GraphicsAPI &_graphicsAPI)

if (_graphicsAPI == rendering::GraphicsAPI::OPENGL)
{
gzdbg << "Creating ign-rendering interface for OpenGL" << std::endl;
gzdbg << "Creating gz-rendering interface for OpenGL" << std::endl;
this->dataPtr->rhiParams["useCurrentGLContext"] = "1";
this->dataPtr->rhi = std::make_unique<IgnCameraTextureRhiOpenGL>();
}
#ifdef __APPLE__
else if (_graphicsAPI == rendering::GraphicsAPI::METAL)
{
gzdbg << "Creating ign-renderering interface for Metal" << std::endl;
gzdbg << "Creating gz-renderering interface for Metal" << std::endl;
this->dataPtr->rhiParams["metal"] = "1";
this->dataPtr->rhi = std::make_unique<IgnCameraTextureRhiMetal>();
}
Expand Down
4 changes: 2 additions & 2 deletions src/plugins/scene3d/Scene3D.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1575,8 +1575,8 @@ void RenderWindowItem::SetSceneTopic(const std::string &_topic)
Scene3D::Scene3D()
: Plugin(), dataPtr(new Scene3DPrivate)
{
gzwarn << "This plugin is deprecated on ign-gui v6 and will be removed on "
<< "ign-gui v7. Use MinimalScene + TransportSceneManager instead."
gzwarn << "This plugin is deprecated on gz-gui v6 and will be removed on "
<< "gz-gui v7. Use MinimalScene + TransportSceneManager instead."
<< std::endl;

qmlRegisterType<RenderWindowItem>("RenderWindow", 1, 0, "RenderWindow");
Expand Down

0 comments on commit 758c914

Please sign in to comment.