summaryrefslogtreecommitdiff
path: root/plugins/stack_render_layer
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2025-04-21 13:57:37 -0400
committerGlenn Smith <glenn@vector35.com>2025-04-23 14:51:44 -0400
commit8385022779729901786510517878173596454097 (patch)
treef4677a48bdf0a34fe2c6b21c7a5b7e25f8bf88a3 /plugins/stack_render_layer
parent21a8896ae9f187c4480fe1a541dce599483817a6 (diff)
Fix Stack Render Layer availability in Free edition
Diffstat (limited to 'plugins/stack_render_layer')
-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);