diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-12 21:17:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-12 21:17:51 +0300 |
commit | 18b2da68d0ae157778bab38d6a90f71e5bb95da2 (patch) | |
tree | 6e5ee2ecba42ad230c93362b5cefbd967a04ca3e /src/render/mglxinit.cpp | |
parent | 04ef9efcdf1de5de7fc17cdc3aa6411757df9dd8 (diff) | |
download | manaverse-18b2da68d0ae157778bab38d6a90f71e5bb95da2.tar.gz manaverse-18b2da68d0ae157778bab38d6a90f71e5bb95da2.tar.bz2 manaverse-18b2da68d0ae157778bab38d6a90f71e5bb95da2.tar.xz manaverse-18b2da68d0ae157778bab38d6a90f71e5bb95da2.zip |
Add functions to get ARB or EXT OpenGL functions.
Diffstat (limited to 'src/render/mglxinit.cpp')
-rw-r--r-- | src/render/mglxinit.cpp | 14 |
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 |