summaryrefslogtreecommitdiff
path: root/src/render/mglx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/mglx.h')
-rw-r--r--src/render/mglx.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/render/mglx.h b/src/render/mglx.h
index d0a626b9a..72777489c 100644
--- a/src/render/mglx.h
+++ b/src/render/mglx.h
@@ -26,17 +26,9 @@
#include "render/mglxtypes.h"
-#define defNameE(name) extern name##_t m##name
-
-defNameE(glXCreateContext);
-defNameE(glXGetCurrentContext);
-defNameE(glXCreateContextAttribs);
-defNameE(glXChooseFBConfig);
-defNameE(glXDestroyContext);
-defNameE(glXMakeCurrent);
-defNameE(glXSwapBuffers);
-
-#undef defNameE
+#define defName(name) extern name##_t m##name
+#include "render/mglx.hpp"
+#undef defName
#endif // defined(USE_OPENGL) && defined(USE_X11)
#endif // RENDER_MGLX_H