blob: 3dd15129b96c720d6f95213f9c3cb100128635a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#pragma once
#include "std/target_os.hpp"
#if defined(OMIM_OS_IPHONE)
#define USE_OPENGLES20_IF_AVAILABLE 1
#include <OpenGLES/ES2/gl.h>
#include <OpenGLES/ES2/glext.h>
#elif defined(OMIM_OS_MAC)
#include <OpenGL/gl.h>
#include <OpenGL/glext.h>
#elif defined(OMIM_OS_WINDOWS)
#include "../std/windows.hpp"
#define GL_GLEXT_PROTOTYPES
#include <GL/gl.h>
#include "../3party/GL/glext.h"
#else
#define GL_GLEXT_PROTOTYPES
#include <GL/gl.h>
#include <GL/glext.h>
#endif
|