diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-16 23:58:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-16 23:58:02 +0300 |
commit | 8d3ef9075b56d9e9e8288e82e0242896433ff853 (patch) | |
tree | 0953a8c4538cc464d8f7a9de8b08389a4613f12b /src/graphicsmanager.h | |
parent | f99ae9f63edfdd37a20cf53957861460be5e1116 (diff) | |
download | manaplus-8d3ef9075b56d9e9e8288e82e0242896433ff853.tar.gz manaplus-8d3ef9075b56d9e9e8288e82e0242896433ff853.tar.bz2 manaplus-8d3ef9075b56d9e9e8288e82e0242896433ff853.tar.xz manaplus-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.h | 5 |
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; }; |