ewx: (geek)
Richard Kettlewell ([personal profile] ewx) wrote2009-02-06 08:48 pm
Entry tags:

I don't think I should have to do this

#ifdef __APPLE__
# include <GLUT/glut.h>
#else
# include <GL/glut.h>
#endif

(#2 in a series)

[identity profile] gareth-rees.livejournal.com 2009-02-06 09:02 pm (UTC)(link)
Intriguing... I have something roughly like
#if PLATFORM_IPHONE
#include <OpenGLES/ES1/gl.h>
#elif PLATFORM_MACINTOSH
#include <OpenGL/gl.h>
#else
#include <gl/gl.h>
#endif