Welcome to mirror list, hosted at ThFree Co, Russian Federation.

glIncludes.hpp « drape - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 226d916bba9aac02a0ed40de85b7881ca31a296d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include "../std/target_os.hpp"

#if defined(OMIM_OS_IPHONE)
  #define USE_OPENGLES20_IF_AVAILABLE 1
  #include <OpenGLES/ES2/gl.h>
#elif defined(OMIM_OS_MAC)
  #include <OpenGL/gl.h>
  #include <OpenGL/glext.h>
#else
  #define GL_GLEXT_PROTOTYPES
  #include <GL/gl.h>
  #include <GL/glext.h>
#endif