diff options
author | Robert Loehning <robert.loehning@theqtcompany.com> | 2015-09-29 16:43:42 +0200 |
---|---|---|
committer | Robert Loehning <robert.loehning@theqtcompany.com> | 2015-10-02 16:39:03 +0000 |
commit | a835b51407b2d8b8f56367fd0d894066498e7e30 (patch) | |
tree | 7aec1a84f730cf0a590bb18c7a08b14061599266 /src/libs/utils/hostosinfo.h | |
parent | 0e8a0cac475b3127ce1fac95214c3f252124a461 (diff) |
Centralize checking for OpenGL
Change-Id: Ic2212c8519f4c771ba3e3c61dd32073b93db7ed9
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'src/libs/utils/hostosinfo.h')
-rw-r--r-- | src/libs/utils/hostosinfo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/utils/hostosinfo.h b/src/libs/utils/hostosinfo.h index b3834163906..a3fb56f6da1 100644 --- a/src/libs/utils/hostosinfo.h +++ b/src/libs/utils/hostosinfo.h @@ -84,6 +84,8 @@ public: return hostOsAspects().controlModifier(); } + static bool canCreateOpenGLContext(QString *errorMessage); + private: static OsSpecificAspects hostOsAspects() { return OsSpecificAspects(hostOs()); } |