diff options
Diffstat (limited to 'android/jni/com/mapswithme/opengl/androidoglcontext.hpp')
-rw-r--r-- | android/jni/com/mapswithme/opengl/androidoglcontext.hpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/android/jni/com/mapswithme/opengl/androidoglcontext.hpp b/android/jni/com/mapswithme/opengl/androidoglcontext.hpp index 424aac5ff3..5c0bed7765 100644 --- a/android/jni/com/mapswithme/opengl/androidoglcontext.hpp +++ b/android/jni/com/mapswithme/opengl/androidoglcontext.hpp @@ -1,17 +1,16 @@ #pragma once +#include "drape/glIncludes.hpp" #include "drape/oglcontext.hpp" -#include <EGL/egl.h> -#include <GLES2/gl2.h> - namespace android { class AndroidOGLContext : public dp::OGLContext { public: - AndroidOGLContext(EGLDisplay display, EGLSurface surface, EGLConfig config, AndroidOGLContext * contextToShareWith); + AndroidOGLContext(bool supportedES3, EGLDisplay display, EGLSurface surface, + EGLConfig config, AndroidOGLContext * contextToShareWith); ~AndroidOGLContext(); void makeCurrent() override; |