summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-16 23:58:02 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-16 23:58:02 +0300
commit8d3ef9075b56d9e9e8288e82e0242896433ff853 (patch)
tree0953a8c4538cc464d8f7a9de8b08389a4613f12b /src/graphicsmanager.h
parentf99ae9f63edfdd37a20cf53957861460be5e1116 (diff)
downloadplus-8d3ef9075b56d9e9e8288e82e0242896433ff853.tar.gz
plus-8d3ef9075b56d9e9e8288e82e0242896433ff853.tar.bz2
plus-8d3ef9075b56d9e9e8288e82e0242896433ff853.tar.xz
plus-8d3ef9075b56d9e9e8288e82e0242896433ff853.zip
Add support for check is OpenGL ES present ot not. Also fix comparessions in nacl.
Diffstat (limited to 'src/graphicsmanager.h')
-rw-r--r--src/graphicsmanager.h5
1 files changed, 5 insertions, 0 deletions
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;
};