From e227aae1ee46556b1088227b689153106b63b08b Mon Sep 17 00:00:00 2001 From: oggs91 Date: Wed, 8 Apr 2015 11:37:49 +0200 Subject: [PATCH] update example --- demo_DvisualizationWT/source/app.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/demo_DvisualizationWT/source/app.d b/demo_DvisualizationWT/source/app.d index cc10ba4..0f22121 100644 --- a/demo_DvisualizationWT/source/app.d +++ b/demo_DvisualizationWT/source/app.d @@ -99,11 +99,11 @@ void init() auto testStroke = vgCreatePaint(); - vgSetParameterfv(testStroke, VG_PAINT_COLOR, 4, cast(float*) cstroke); + vgSetParameterfv(testStroke, VG_PAINT_COLOR, cstroke); vgSetPaint(testStroke, VG_STROKE_PATH); auto testFill = vgCreatePaint(); - vgSetParameterfv(testFill, VG_PAINT_COLOR, 4, cast(float*) cfill); + vgSetParameterfv(testFill, VG_PAINT_COLOR, cfill); vgSetPaint(testFill, VG_FILL_PATH); foreach(i; iota(0,150))