diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-10 21:15:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-10 21:15:55 +0300 |
commit | 4a21c51e2183c41079342a20239cb8d10f8f2e0c (patch) | |
tree | 235123f5c01824f04576b9b823e0b479cfab050d /src/utils/glxhelper.h | |
parent | 2c2d6c379cf994a61491983780edd3ab9852eaf4 (diff) | |
download | manaplus-4a21c51e2183c41079342a20239cb8d10f8f2e0c.tar.gz manaplus-4a21c51e2183c41079342a20239cb8d10f8f2e0c.tar.bz2 manaplus-4a21c51e2183c41079342a20239cb8d10f8f2e0c.tar.xz manaplus-4a21c51e2183c41079342a20239cb8d10f8f2e0c.zip |
In OpenGL context creation add support for compatability context.
Diffstat (limited to 'src/utils/glxhelper.h')
-rw-r--r-- | src/utils/glxhelper.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/glxhelper.h b/src/utils/glxhelper.h index 528e3f7fb..e76da1005 100644 --- a/src/utils/glxhelper.h +++ b/src/utils/glxhelper.h @@ -32,7 +32,8 @@ namespace GlxHelper void *createContext(const unsigned long window, void *const display, const int major, - const int minor); + const int minor, + const int profile); bool makeCurrent(const unsigned long window, void *const display, |