23 lines
524 B
C++
23 lines
524 B
C++
#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
|