diff options
author | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2019-04-06 21:46:02 +0200 |
---|---|---|
committer | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2019-04-06 21:46:02 +0200 |
commit | 14685044da903e1d56688490cafdce7cd8cf06ce (patch) | |
tree | 9bc85a3cc5410a1b6cec3b3ec2522aea75b295ba /canvas.lv2 | |
parent | e95c7a66caaa54a50b5aa71bc5e7d59a1e4d7e07 (diff) | |
download | synthpod-14685044da903e1d56688490cafdce7cd8cf06ce.tar.xz |
Squashed 'canvas.lv2/' changes from 054228e5..d5e603aa
d5e603aa fixes for nanovg backend.
git-subtree-dir: canvas.lv2
git-subtree-split: d5e603aa94f2951e3d9a2d6998721ea7013a8c4c
Diffstat (limited to 'canvas.lv2')
-rw-r--r-- | canvas.lv2/render_nanovg.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/canvas.lv2/render_nanovg.h b/canvas.lv2/render_nanovg.h index 7df06617..a98bc958 100644 --- a/canvas.lv2/render_nanovg.h +++ b/canvas.lv2/render_nanovg.h @@ -190,6 +190,7 @@ _lv2_canvas_render_lineDash(void *data, LV2_Canvas_URID *urid, const LV2_Atom *body) { NVGcontext *ctx = data; + (void)ctx; //FIXME const float *v = _lv2_canvas_render_get_float_vec(urid, body, 2); if(v) @@ -277,6 +278,7 @@ _lv2_canvas_render_clip(void *data, LV2_Canvas_URID *urid, const LV2_Atom *body) { NVGcontext *ctx = data; + (void)ctx; //FIXME //FIXME cairo_clip(ctx); } @@ -374,6 +376,7 @@ _lv2_canvas_render_fillText(void *data, LV2_Canvas_URID *urid, const LV2_Atom *body) { NVGcontext *ctx = data; + (void)ctx; //FIXME const char *v = _lv2_canvas_render_get_type(body, urid->forge.String); if(v) @@ -533,7 +536,7 @@ lv2_canvas_init(LV2_Canvas *canvas, LV2_URID_Map *map) } static inline bool -lv2_canvas_render_body(LV2_Canvas *canvas, cairo_t *ctx, uint32_t type, +lv2_canvas_render_body(LV2_Canvas *canvas, NVGcontext *ctx, uint32_t type, uint32_t size, const LV2_Atom *body) { LV2_Canvas_URID *urid = &canvas->urid; |