summaryrefslogtreecommitdiff
path: root/src/plugin-luagl.cc
blob: 34bdc2df80bbe9f4ca994cbdcddade111f721bf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <LuaGL.h>

static void _init_plugin(Lua * L) {
    luaopen_opengl(L);
    L->pop();
}

extern "C" {
    
__attribute__ ((weak)) void init_plugin(Lua * L) {
    _init_plugin(L);
}

void luagl_init(Lua * L) {
    _init_plugin(L);
}
    
}