~hp/canvas.lv2

3259ea1e878b27e387d21be405038c92da6c8ed2 — Hanspeter Portner 5 years ago f65fb20
fix GL header inclusions.
1 files changed, 8 insertions(+), 2 deletions(-)

M canvas.lv2/render_nanovg.h
M canvas.lv2/render_nanovg.h => canvas.lv2/render_nanovg.h +8 -2
@@ 21,9 21,15 @@
#include <assert.h>

#include <nanovg.h>
#include <GL/glew.h>

#if defined(__APPLE__)
#	include <OpenGL/gl.h>
#	include <OpenGL/glext.h>
#else
#	include <GL/glew.h>
#endif

#define NANOVG_GL2_IMPLEMENTATION
#include <GL/gl.h>
#include <nanovg_gl.h>

#if defined(NANOVG_GL2_IMPLEMENTATION)