summaryrefslogtreecommitdiff
path: root/src/plugin-luagl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugin-luagl.cc')
-rw-r--r--src/plugin-luagl.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/plugin-luagl.cc b/src/plugin-luagl.cc
new file mode 100644
index 0000000..2f0b55c
--- /dev/null
+++ b/src/plugin-luagl.cc
@@ -0,0 +1,10 @@
+#include <LuaGL.h>
+
+extern "C" {
+
+void init_plugin(Lua * L) {
+ luaopen_opengl(L);
+ L->pop();
+}
+
+}