aboutsummaryrefslogtreecommitdiff
path: root/canvas.lv2
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2021-07-14 23:05:46 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2021-07-14 23:05:46 +0200
commit2f13b31b2be4e815fda9ac691bbade650e21a886 (patch)
tree21b8b1e009e433181f701c4ad0025a17ec0fe6e8 /canvas.lv2
parentb6c943375aea9d7d584587104d4af1edcf04acf0 (diff)
parent65266d926aba49b13ecf65aa215fb2245c0695d4 (diff)
downloadsynthpod-2f13b31b2be4e815fda9ac691bbade650e21a886.tar.xz
Merge commit '65266d926aba49b13ecf65aa215fb2245c0695d4'
Diffstat (limited to 'canvas.lv2')
-rw-r--r--canvas.lv2/canvas.lv2/render_nanovg.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/canvas.lv2/canvas.lv2/render_nanovg.h b/canvas.lv2/canvas.lv2/render_nanovg.h
index 72801539..3449d4ac 100644
--- a/canvas.lv2/canvas.lv2/render_nanovg.h
+++ b/canvas.lv2/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"