blob: 4fa0cf47759eacf7ffbb115834c3c0dc514fc159 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef LLMR_RENDERER_GL
#define LLMR_RENDERER_GL
#ifdef __APPLE__
#include "TargetConditionals.h"
#if TARGET_OS_IPHONE
#include <OpenGLES/ES2/gl.h>
#include <OpenGLES/ES2/glext.h>
#elif TARGET_IPHONE_SIMULATOR
#include <OpenGLES/ES2/gl.h>
#include <OpenGLES/ES2/glext.h>
#elif TARGET_OS_MAC
#include <GLFW/glfw3.h>
#include <OpenGL/OpenGL.h>
#else
#error Unsupported Apple platform
#endif
#else
#error Unsupported platform
#endif
#endif
|