summaryrefslogtreecommitdiff
path: root/src/render/mglx.hpp
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.hpp
parentdf56c8f79f51cf3ea5118b2e8b82930cd71c2679 (diff)
downloadmanaplus-7ad652a0c4d70e7bbca309dd7a1d0b824b6f5efa.tar.gz
manaplus-7ad652a0c4d70e7bbca309dd7a1d0b824b6f5efa.tar.bz2
manaplus-7ad652a0c4d70e7bbca309dd7a1d0b824b6f5efa.tar.xz
manaplus-7ad652a0c4d70e7bbca309dd7a1d0b824b6f5efa.zip
Simplify GLX functions defenition.
Diffstat (limited to 'src/render/mglx.hpp')
-rw-r--r--src/render/mglx.hpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/render/mglx.hpp b/src/render/mglx.hpp
new file mode 100644
index 000000000..abc06d9a1
--- /dev/null
+++ b/src/render/mglx.hpp
@@ -0,0 +1,27 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2012-2014 The ManaPlus Developers
+ *
+ * This file is part of The ManaPlus Client.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+defName(glXCreateContext);
+defName(glXGetCurrentContext);
+defName(glXCreateContextAttribs);
+defName(glXChooseFBConfig);
+defName(glXDestroyContext);
+defName(glXMakeCurrent);
+defName(glXSwapBuffers);