aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2021-07-14 22:15:09 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2021-07-14 22:15:09 +0200
commitf2baa83c8f30baac3e7273e6d5d63559a0d0e715 (patch)
tree7d097ffeb9aa1acadfcca18cdf87f3388fc7ee2d
parent7d0d14828a1f7470d858d48b26e1cd4eb82b0aab (diff)
downloadmoony.lv2-f2baa83c8f30baac3e7273e6d5d63559a0d0e715.tar.xz
canvas: include proper render headers.
-rw-r--r--VERSION2
-rw-r--r--plugin/d2tk_ui.c3
-rw-r--r--plugin/nk_ui.c2
3 files changed, 3 insertions, 4 deletions
diff --git a/VERSION b/VERSION
index 3d41a9b..1ec2611 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.39.11
+0.39.17
diff --git a/plugin/d2tk_ui.c b/plugin/d2tk_ui.c
index 53dc0da..54bbdda 100644
--- a/plugin/d2tk_ui.c
+++ b/plugin/d2tk_ui.c
@@ -38,8 +38,7 @@
#include <nanovg.h>
-#define LV2_CANVAS_RENDER_NANOVG
-#include <canvas.lv2/render.h>
+#include <canvas.lv2/render_nanovg.h>
#define MAX_NPROPS 16
#define MAX_GRAPH 2048 //FIXME
diff --git a/plugin/nk_ui.c b/plugin/nk_ui.c
index c4aa201..5e54651 100644
--- a/plugin/nk_ui.c
+++ b/plugin/nk_ui.c
@@ -34,7 +34,7 @@
#include <lauxlib.h>
#if defined(BUILD_INLINE_DISP)
-# include <canvas.lv2/render.h>
+# include <canvas.lv2/render_cairo.h>
#endif
extern int luaopen_lpeg(lua_State *L);