ewx: (geek)
[personal profile] ewx
#ifdef __APPLE__
# include <GLUT/glut.h>
#else
# include <GL/glut.h>
#endif

(#2 in a series)

(no subject)

Date: 2009-02-06 09:02 pm (UTC)
From: [identity profile] gareth-rees.livejournal.com
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

February 2025

S M T W T F S
      1
2345678
9101112131415
16171819202122
232425262728 

Most Popular Tags

Expand Cut Tags

No cut tags