aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2019-04-06 21:47:11 +0200
committerGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2019-04-06 21:47:11 +0200
commit183eac97d697dbb599e2df2f8b04e8d22141af3d (patch)
treeebb174261c483ba964e03dd2326657011d498244
parentf9db0cde371a05a77a33deaef72177b89ee29d3f (diff)
parenteed518d3058f8e91b0952dd659f752f129a7b9f6 (diff)
downloadwidgets.lv2-183eac97d697dbb599e2df2f8b04e8d22141af3d.zip
widgets.lv2-183eac97d697dbb599e2df2f8b04e8d22141af3d.tar.gz
widgets.lv2-183eac97d697dbb599e2df2f8b04e8d22141af3d.tar.bz2
widgets.lv2-183eac97d697dbb599e2df2f8b04e8d22141af3d.tar.xz
Merge commit 'eed518d3058f8e91b0952dd659f752f129a7b9f6'
-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 7df0661..a98bc95 100644
--- a/canvas.lv2/canvas.lv2/render_nanovg.h
+++ b/canvas.lv2/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;