aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--VERSION2
-rw-r--r--canvas_ui.c5
2 files changed, 5 insertions, 2 deletions
diff --git a/VERSION b/VERSION
index 84ea58b..5476ea9 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.1.439
+0.1.441
diff --git a/canvas_ui.c b/canvas_ui.c
index fafd157..5a4ec56 100644
--- a/canvas_ui.c
+++ b/canvas_ui.c
@@ -148,7 +148,10 @@ _expose(plughandle_t *handle)
nvgSave(handle->ctx);
nvgScale(handle->ctx, handle->w, handle->h);
- lv2_canvas_render(&handle->canvas, handle->ctx, handle->graph);
+ if(handle->graph)
+ {
+ lv2_canvas_render(&handle->canvas, handle->ctx, handle->graph);
+ }
nvgRestore(handle->ctx);
nvgEndFrame(handle->ctx);