diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-04 00:22:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-04 00:23:11 +0300 |
commit | 32f981a9424a133298fa7a1f28455b4af9527008 (patch) | |
tree | 14d7635b433c07d8f4d88240f32945248d5d630c /src/graphicsmanager.cpp | |
parent | 861505d90c9f3d526f41b645873584f520eff7b1 (diff) | |
download | manaverse-32f981a9424a133298fa7a1f28455b4af9527008.tar.gz manaverse-32f981a9424a133298fa7a1f28455b4af9527008.tar.bz2 manaverse-32f981a9424a133298fa7a1f28455b4af9527008.tar.xz manaverse-32f981a9424a133298fa7a1f28455b4af9527008.zip |
Fix for MacOSX in OpenGL extensions.
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r-- | src/graphicsmanager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp index 1778f1075..e5fcdcf5c 100644 --- a/src/graphicsmanager.cpp +++ b/src/graphicsmanager.cpp @@ -63,6 +63,8 @@ #define getFunction(name) wglGetProcAddress(name) #elif defined ANDROID #define getFunction(name) eglGetProcAddress(name) +#elif defined __APPLE__ +#define getFunction(name) nullptr #else #define getFunction(name) glXGetProcAddress(\ reinterpret_cast<const GLubyte*>(name)) |