summaryrefslogtreecommitdiff
path: root/src/utils/glxhelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/glxhelper.h')
-rw-r--r--src/utils/glxhelper.h6
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)