Skip to content

Commit

Permalink
Merge 94dbc51 into 993bb0b
Browse files Browse the repository at this point in the history
  • Loading branch information
iche033 authored Sep 15, 2021
2 parents 993bb0b + 94dbc51 commit ce889dd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ namespace ignition
public: virtual void Destroy() override;

// Documentation inherited.
public: virtual bool IsRenderWindow() const;
public: virtual bool IsRenderWindow() const override;

// Documentation inherited.
public: virtual Ogre::TextureGpu *RenderTarget() const override;
Expand Down
1 change: 1 addition & 0 deletions ogre2/src/Ogre2DepthCamera.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#endif

#ifdef __APPLE__
#define GL_SILENCE_DEPRECATION
#include <OpenGL/gl.h>
#else
#ifndef _WIN32
Expand Down
1 change: 1 addition & 0 deletions ogre2/src/Ogre2ThermalCamera.cc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#endif

#ifdef __APPLE__
#define GL_SILENCE_DEPRECATION
#include <OpenGL/gl.h>
#else
#ifndef _WIN32
Expand Down
5 changes: 5 additions & 0 deletions test/test_config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@
#define RENDER_ENGINE_VALUES ::testing::ValuesIn(\
ignition::rendering::TestValues())

/// \todo(anyone) re-enable ogre2 test once ogre 2.2 works on macOS
#ifdef __APPLE__
static const std::vector<const char *> kRenderEngineTestValues{"ogre", "optix"};
#else
static const std::vector<const char *> kRenderEngineTestValues{"ogre2", "optix"};
#endif

#include <vector>
#include <ignition/common/Util.hh>
Expand Down

0 comments on commit ce889dd

Please sign in to comment.