Skip to content

Commit 8385022

Browse files
committed
Fix Stack Render Layer availability in Free edition
1 parent 21a8896 commit 8385022

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

plugins/stack_render_layer/plugin.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,11 @@ class StackRenderLayer: public RenderLayer
115115
extern "C" {
116116
BN_DECLARE_CORE_ABI_VERSION
117117

118+
#ifdef DEMO_EDITION
119+
bool StackRenderLayerPluginInit()
120+
#else
118121
BINARYNINJAPLUGIN bool CorePluginInit()
122+
#endif
119123
{
120124
static StackRenderLayer* layer = new StackRenderLayer();
121125
RenderLayer::Register(layer, DisabledByDefaultRenderLayerDefaultEnableState);

0 commit comments

Comments
 (0)