]> O.S.I.I.S - jp/vkvg.git/commitdiff
debug paint_surf test
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Fri, 14 Jan 2022 22:12:10 +0000 (23:12 +0100)
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Fri, 14 Jan 2022 22:12:10 +0000 (23:12 +0100)
tests/paint_surf.c

index ae93bdfbc9c2542b3ea85506e9d00d34c6d1e265..996c4104034f3e66e4dd628ac8547cd72e6bc34c 100644 (file)
@@ -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;
        /*