mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-21 22:03:37 +00:00
Organic Maps sources as of 02.04.2025 (fad26bbf22ac3da75e01e62aa01e5c8e11861005)
To expand with full Organic Maps and Maps.ME commits history run: git remote add om-historic [om-historic.git repo url] git fetch --tags om-historic git replace squashed-history historic-commits
This commit is contained in:
33
drape/gl_includes.hpp
Normal file
33
drape/gl_includes.hpp
Normal file
@@ -0,0 +1,33 @@
|
||||
#pragma once
|
||||
|
||||
#include "std/target_os.hpp"
|
||||
|
||||
#if defined(OMIM_OS_IPHONE)
|
||||
#define GL_SILENCE_DEPRECATION
|
||||
#include <OpenGLES/ES2/glext.h>
|
||||
#include <OpenGLES/ES3/gl.h>
|
||||
#elif defined(OMIM_OS_MAC)
|
||||
#define GL_SILENCE_DEPRECATION
|
||||
#include <OpenGL/glext.h>
|
||||
#include <OpenGL/gl3.h>
|
||||
#elif defined(OMIM_OS_WINDOWS)
|
||||
#include "std/windows.hpp"
|
||||
#define GL_GLEXT_PROTOTYPES
|
||||
#include <GL/gl.h>
|
||||
#include "3party/GL/glext.h"
|
||||
#elif defined(OMIM_OS_ANDROID)
|
||||
#define GL_GLEXT_PROTOTYPES
|
||||
#include <GLES2/gl2.h>
|
||||
#include <GLES2/gl2ext.h>
|
||||
#include "android/app/src/main/cpp/app/organicmaps/opengl/gl3stub.h"
|
||||
#include <EGL/egl.h>
|
||||
#elif defined(OMIM_OS_LINUX)
|
||||
#define GL_GLEXT_PROTOTYPES
|
||||
#include <dlfcn.h>
|
||||
#include <GL/gl.h>
|
||||
#include <GL/glext.h>
|
||||
#else
|
||||
#define GL_GLEXT_PROTOTYPES
|
||||
#include <GL/gl.h>
|
||||
#include <GL/glext.h>
|
||||
#endif
|
||||
Reference in New Issue
Block a user