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

January 2026

S M T W T F S
    123
45678910
111213141516 17
18192021222324
25262728293031

Most Popular Tags

Expand Cut Tags

No cut tags