Skip to content

Commit

Permalink
src: Adjust for non-standard Apple GL headers.
Browse files Browse the repository at this point in the history
The gl.h header should live in GL/gl.h according to the Khronos docs.
However, Apple has no such GL directory. Sigh.
  • Loading branch information
Alec Leamas authored and Rasbats committed Jan 6, 2021
1 parent 01e95e5 commit 3018eaa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/PhotoLayerImage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@

#include "defs.h"
#include "PhotoLayerImage.h"

#if __APPLE__
#include <gl.h>
#else
#include <GL/gl.h>
#endif

WX_DEFINE_LIST(PhotoLayerImageCoordinateList);

Expand Down

0 comments on commit 3018eaa

Please sign in to comment.