aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2021-07-14 23:06:00 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2021-07-14 23:06:00 +0200
commit89f2058653be762de730802a83dfa61bdb95e843 (patch)
tree3aa1e8daa4004568feda24f1af246ed9d9737ccf
parentad8e7e2923e291be1c53e964ae8b8c0c50699c5b (diff)
downloadmoony.lv2-89f2058653be762de730802a83dfa61bdb95e843.tar.xz
Squashed 'canvas.lv2/' changes from 02633952..93127979
93127979 add define to skip nanovg implementation. git-subtree-dir: canvas.lv2 git-subtree-split: 93127979df1af3f7e5f8ef4f255ba2d6366d893c
-rw-r--r--canvas.lv2/render_nanovg.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/canvas.lv2/render_nanovg.h b/canvas.lv2/render_nanovg.h
index 7280153..3449d4a 100644
--- a/canvas.lv2/render_nanovg.h
+++ b/canvas.lv2/render_nanovg.h
@@ -31,7 +31,10 @@
# include <GL/glew.h>
#endif
-#define NANOVG_GLES3_IMPLEMENTATION
+#if !defined(LV2_CANVAS_RENDER_NANOVG_NO_IMPLEMENTATION)
+# define NANOVG_GLES3_IMPLEMENTATION
+#endif
+
#include <nanovg_gl.h>
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wsign-compare"