From: Jean-Philippe Bruyère Date: Fri, 14 Jan 2022 22:12:10 +0000 (+0100) Subject: debug paint_surf test X-Git-Tag: v0.3.0-beta~7^2 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=95da05ff24a2c72c2c5345cb8cd70904d3338a5a;p=jp%2Fvkvg.git debug paint_surf test --- diff --git a/tests/paint_surf.c b/tests/paint_surf.c index ae93bdf..996c410 100644 --- a/tests/paint_surf.c +++ b/tests/paint_surf.c @@ -4,7 +4,7 @@ float lineWidth = 10.f; VkvgSurface createSurf (uint32_t width, uint32_t height) { VkvgSurface s = vkvg_surface_create(device, width, height); - VkvgContext ctx = _initCtx(surf); + VkvgContext ctx = vkvg_create (s); vkvg_set_line_width(ctx,lineWidth); float hlw = lineWidth/2.f; /*