Skip to content

Commit

Permalink
Include the CGL header on macOS (#911)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carroll <[email protected]>
  • Loading branch information
mjcarroll authored Sep 18, 2023
1 parent 8c1fd27 commit 9d524c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ogre2/src/Ogre2RenderEngine.cc
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@
#include <EGL/egl.h>
#endif

#if defined(__APPLE__)
#include <OpenGL/CGLCurrent.h>
#endif

class GZ_RENDERING_OGRE2_HIDDEN
gz::rendering::Ogre2RenderEnginePrivate
{
Expand Down

0 comments on commit 9d524c2

Please sign in to comment.