summaryrefslogtreecommitdiff
path: root/src/render/mglxinit.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-07-12 21:17:51 +0300
committerAndrei Karas <akaras@inbox.ru>2014-07-12 21:17:51 +0300
commit18b2da68d0ae157778bab38d6a90f71e5bb95da2 (patch)
tree6e5ee2ecba42ad230c93362b5cefbd967a04ca3e /src/render/mglxinit.cpp
parent04ef9efcdf1de5de7fc17cdc3aa6411757df9dd8 (diff)
downloadplus-18b2da68d0ae157778bab38d6a90f71e5bb95da2.tar.gz
plus-18b2da68d0ae157778bab38d6a90f71e5bb95da2.tar.bz2
plus-18b2da68d0ae157778bab38d6a90f71e5bb95da2.tar.xz
plus-18b2da68d0ae157778bab38d6a90f71e5bb95da2.zip
Add functions to get ARB or EXT OpenGL functions.
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 e6763d45e..23c592d8d 100644
--- a/src/render/mglxinit.cpp
+++ b/src/render/mglxinit.cpp
@@ -30,13 +30,13 @@
void Glx::initFunctions()
{
- assignFunction2(glXCreateContext, "glXCreateContext");
- assignFunction2(glXGetCurrentContext, "glXGetCurrentContext");
- assignFunction2(glXCreateContextAttribs, "glXCreateContextAttribsARB");
- assignFunction2(glXChooseFBConfig, "glXChooseFBConfig");
- assignFunction2(glXDestroyContext, "glXDestroyContext");
- assignFunction2(glXMakeCurrent, "glXMakeCurrent");
- assignFunction2(glXSwapBuffers, "glXSwapBuffers");
+ assignFunction(glXCreateContext);
+ assignFunction(glXGetCurrentContext);
+ assignFunctionARB(glXCreateContextAttribs);
+ assignFunction(glXChooseFBConfig);
+ assignFunction(glXDestroyContext);
+ assignFunction(glXMakeCurrent);
+ assignFunction(glXSwapBuffers);
}
#endif