libagar icon indicating copy to clipboard operation
libagar copied to clipboard

SG missing __APPLE__ directive in sg.h

Open WallyZambotti opened this issue 4 years ago • 0 comments

Line 13 of sg/sg.h

# include <GL/glu.h>

should be changed to

#ifdef __APPLE__
# include <OpenGL/glu.h>
#else 
# include <GL/glu.h>
#endif

Otherwise fatal errors are caused when building in MacOS

WallyZambotti avatar Nov 04 '20 02:11 WallyZambotti