aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2021-07-14 23:05:49 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2021-07-14 23:05:49 +0200
commitae250b8c44663ae9f5c99e736d4b7ed9ae4653db (patch)
treea2d796d4b7f43bb8b4537f8f2cef3034455f3805
parent471b58c5bafb3da478fc2194f9c8992766aeff6e (diff)
parente74f489a2f82f733dd549f85313ca8cd22e1186a (diff)
downloadcanvas_display.lv2-ae250b8c44663ae9f5c99e736d4b7ed9ae4653db.tar.xz
Merge commit 'e74f489a2f82f733dd549f85313ca8cd22e1186a'HEADmaster
-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 7280153..3449d4a 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"