Skip to content

Commit

Permalink
[macOS] rollback changes to examples
Browse files Browse the repository at this point in the history
- Roll back changes to other examples, keeping only simple_demo_qml.

Signed-off-by: Rhys Mainwaring <[email protected]>
  • Loading branch information
srmainwaring committed Sep 3, 2021
1 parent 7bacb30 commit c96f5fb
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ build_*
# OS generated files
.DS_Store
*.swp
log
2 changes: 1 addition & 1 deletion examples/custom_shaders/custom_shaders.cc
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const std::string RESOURCE_PATH =
int main()
{
// Initialize ignition::rendering
auto *engine = ignition::rendering::engine("ogre2");
auto *engine = ignition::rendering::engine("ogre");
if (!engine)
{
std::cerr << "Failed to load ogre\n";
Expand Down
2 changes: 1 addition & 1 deletion examples/custom_shaders_uniforms/Main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ int main(int _argc, char** _argv)
common::Console::SetVerbosity(4);
std::vector<CameraPtr> cameras;

std::string engine("ogre2");
std::string engine("ogre");

try
{
Expand Down
2 changes: 1 addition & 1 deletion ogre2/src/Ogre2RenderEngine.cc
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ void Ogre2RenderEngine::CreateLogger()

// create actual log
this->ogreLogManager = new Ogre::LogManager();
this->ogreLogManager->createLog(logPath, true, true, false);
this->ogreLogManager->createLog(logPath, true, false, false);
}

//////////////////////////////////////////////////
Expand Down

0 comments on commit c96f5fb

Please sign in to comment.