summaryrefslogtreecommitdiff
path: root/src/render/mglx.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-10 13:22:43 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-10 13:22:43 +0300
commit7ad652a0c4d70e7bbca309dd7a1d0b824b6f5efa (patch)
tree080f86218f6deb792df49678137070689d808bfe /src/render/mglx.cpp
parentdf56c8f79f51cf3ea5118b2e8b82930cd71c2679 (diff)
downloadplus-7ad652a0c4d70e7bbca309dd7a1d0b824b6f5efa.tar.gz
plus-7ad652a0c4d70e7bbca309dd7a1d0b824b6f5efa.tar.bz2
plus-7ad652a0c4d70e7bbca309dd7a1d0b824b6f5efa.tar.xz
plus-7ad652a0c4d70e7bbca309dd7a1d0b824b6f5efa.zip
Simplify GLX functions defenition.
Diffstat (limited to 'src/render/mglx.cpp')
-rw-r--r--src/render/mglx.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/render/mglx.cpp b/src/render/mglx.cpp
index b5390fb11..694bdbb6f 100644
--- a/src/render/mglx.cpp
+++ b/src/render/mglx.cpp
@@ -25,13 +25,6 @@
#include "debug.h"
#define defName(name) name##_t m##name = nullptr
-
-defName(glXCreateContext);
-defName(glXGetCurrentContext);
-defName(glXCreateContextAttribs);
-defName(glXChooseFBConfig);
-defName(glXDestroyContext);
-defName(glXMakeCurrent);
-defName(glXSwapBuffers);
+#include "render/mglx.hpp"
#endif