forked from organicmaps/organicmaps
[iOS] Disabled opengles 2.0 with macro
This commit is contained in:
parent
7c78d734b7
commit
46865415e0
1 changed files with 3 additions and 0 deletions
|
@ -3,14 +3,17 @@
|
|||
|
||||
#if defined(OMIM_OS_WINDOWS)
|
||||
#include "opengl_win32.hpp"
|
||||
|
||||
#elif defined(OMIM_OS_BADA)
|
||||
#include <FGraphicsOpengl.h>
|
||||
using namespace Osp::Graphics::Opengl;
|
||||
#define OMIM_GL_ES
|
||||
|
||||
#elif (defined(OMIM_OS_MAC) || defined(OMIM_OS_IPHONE))
|
||||
#include <TargetConditionals.h>
|
||||
|
||||
#ifdef OMIM_OS_IPHONE
|
||||
#define USE_OPENGLES20_IF_AVAILABLE 0
|
||||
#include <OpenGLES/ES1/gl.h>
|
||||
#include <OpenGLES/ES1/glext.h>
|
||||
#define OMIM_GL_ES
|
||||
|
|
Loading…
Add table
Reference in a new issue