~hp/canvas.lv2

93127979df1af3f7e5f8ef4f255ba2d6366d893c — Hanspeter Portner 3 years ago 0263395
add define to skip nanovg implementation.
1 files changed, 4 insertions(+), 1 deletions(-)

M canvas.lv2/render_nanovg.h
M canvas.lv2/render_nanovg.h => canvas.lv2/render_nanovg.h +4 -1
@@ 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"