summaryrefslogtreecommitdiff
path: root/src/plugin-luaftgl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugin-luaftgl.cc')
-rw-r--r--src/plugin-luaftgl.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugin-luaftgl.cc b/src/plugin-luaftgl.cc
index 83f26f1..95f23f0 100644
--- a/src/plugin-luaftgl.cc
+++ b/src/plugin-luaftgl.cc
@@ -7,6 +7,9 @@
#endif
static void _init_plugin(Lua * L) {
+ static bool done = false;
+ if (done) return;
+ done = true;
LuaFTFont::pushstatics(L);
}