From 8d3ef9075b56d9e9e8288e82e0242896433ff853 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 16 Dec 2015 23:58:02 +0300 Subject: Add support for check is OpenGL ES present ot not. Also fix comparessions in nacl. --- src/graphicsmanager.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/graphicsmanager.h') diff --git a/src/graphicsmanager.h b/src/graphicsmanager.h index 1fe682d27..644b1ae87 100644 --- a/src/graphicsmanager.h +++ b/src/graphicsmanager.h @@ -103,6 +103,9 @@ class GraphicsManager final bool checkGLVersion(const int major, const int minor) const A_WARN_UNUSED; + bool checkGLesVersion(const int major, const int minor) + const A_WARN_UNUSED; + bool checkSLVersion(const int major, const int minor) const A_WARN_UNUSED; @@ -213,6 +216,8 @@ class GraphicsManager final int mSupportDebug; bool mSupportModernOpengl; + + bool mGles; #endif bool mUseAtlases; }; -- cgit v1.2.3-60-g2f50