diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-02 19:33:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-02 19:33:01 +0300 |
commit | eda234f5e156d376541044b351fd2e1e766700a3 (patch) | |
tree | 56ef425beb88fe84c280dea3a3ddeef676553589 /src/utils/glxhelper.h | |
parent | 5ce62dae5b3848833765a19296ffd9fd7e9721d8 (diff) | |
download | manaplus-eda234f5e156d376541044b351fd2e1e766700a3.tar.gz manaplus-eda234f5e156d376541044b351fd2e1e766700a3.tar.bz2 manaplus-eda234f5e156d376541044b351fd2e1e766700a3.tar.xz manaplus-eda234f5e156d376541044b351fd2e1e766700a3.zip |
Fix resize in modernopengl with own context in SDL1.2 build.
Diffstat (limited to 'src/utils/glxhelper.h')
-rw-r--r-- | src/utils/glxhelper.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/utils/glxhelper.h b/src/utils/glxhelper.h index 0378256d0..ce3a5568d 100644 --- a/src/utils/glxhelper.h +++ b/src/utils/glxhelper.h @@ -31,10 +31,14 @@ namespace GlxHelper { - void *createContext(unsigned int window, + void *createContext(const unsigned int window, void *const display, const int major, const int minor); + + bool makeCurrent(const unsigned int window, + void *const display, + void *const context); } // namespace Glx #endif // defined(USE_OPENGL) && defined(USE_X11) |