summaryrefslogtreecommitdiff
path: root/plugins/stack_render_layer/plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/stack_render_layer/plugin.cpp')
-rw-r--r--plugins/stack_render_layer/plugin.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/stack_render_layer/plugin.cpp b/plugins/stack_render_layer/plugin.cpp
index b32ee470..825c0603 100644
--- a/plugins/stack_render_layer/plugin.cpp
+++ b/plugins/stack_render_layer/plugin.cpp
@@ -115,7 +115,11 @@ public:
extern "C" {
BN_DECLARE_CORE_ABI_VERSION
+#ifdef DEMO_EDITION
+ bool StackRenderLayerPluginInit()
+#else
BINARYNINJAPLUGIN bool CorePluginInit()
+#endif
{
static StackRenderLayer* layer = new StackRenderLayer();
RenderLayer::Register(layer, DisabledByDefaultRenderLayerDefaultEnableState);