summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-04 00:22:29 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-04 00:23:11 +0300
commit32f981a9424a133298fa7a1f28455b4af9527008 (patch)
tree14d7635b433c07d8f4d88240f32945248d5d630c /src
parent861505d90c9f3d526f41b645873584f520eff7b1 (diff)
downloadmv-32f981a9424a133298fa7a1f28455b4af9527008.tar.gz
mv-32f981a9424a133298fa7a1f28455b4af9527008.tar.bz2
mv-32f981a9424a133298fa7a1f28455b4af9527008.tar.xz
mv-32f981a9424a133298fa7a1f28455b4af9527008.zip
Fix for MacOSX in OpenGL extensions.
Diffstat (limited to 'src')
-rw-r--r--src/graphicsmanager.cpp2
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))