summaryrefslogtreecommitdiff
path: root/src/render/mglxinit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/mglxinit.cpp')
-rw-r--r--src/render/mglxinit.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/render/mglxinit.cpp b/src/render/mglxinit.cpp
index 8908b1b4f..e6763d45e 100644
--- a/src/render/mglxinit.cpp
+++ b/src/render/mglxinit.cpp
@@ -30,13 +30,13 @@
void Glx::initFunctions()
{
- assignFunction(glXCreateContext, "glXCreateContext");
- assignFunction(glXGetCurrentContext, "glXGetCurrentContext");
- assignFunction(glXCreateContextAttribs, "glXCreateContextAttribsARB");
- assignFunction(glXChooseFBConfig, "glXChooseFBConfig");
- assignFunction(glXDestroyContext, "glXDestroyContext");
- assignFunction(glXMakeCurrent, "glXMakeCurrent");
- assignFunction(glXSwapBuffers, "glXSwapBuffers");
+ assignFunction2(glXCreateContext, "glXCreateContext");
+ assignFunction2(glXGetCurrentContext, "glXGetCurrentContext");
+ assignFunction2(glXCreateContextAttribs, "glXCreateContextAttribsARB");
+ assignFunction2(glXChooseFBConfig, "glXChooseFBConfig");
+ assignFunction2(glXDestroyContext, "glXDestroyContext");
+ assignFunction2(glXMakeCurrent, "glXMakeCurrent");
+ assignFunction2(glXSwapBuffers, "glXSwapBuffers");
}
#endif