From: Jean-Philippe Bruyère Date: Fri, 18 Feb 2022 18:58:00 +0000 (+0100) Subject: cleanup X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=cf4ce6efb5ce26b0d26e58e903294c84fd46c568;p=jp%2Fvkvg.git cleanup --- diff --git a/src/vkvg_context.c b/src/vkvg_context.c index ed073b9..4a9fda9 100644 --- a/src/vkvg_context.c +++ b/src/vkvg_context.c @@ -80,10 +80,6 @@ void _init_ctx (VkvgContext ctx) { ctx->cmdStarted = false; ctx->curClipState = vkvg_clip_state_none; ctx->vertCount = ctx->indCount = ctx->curColor = 0; - /*ctx->pPrev = ctx->dev->lastCtx; - if (ctx->pPrev != NULL) - ctx->pPrev->pNext = ctx; - ctx->dev->lastCtx = ctx;*/ } VkvgContext vkvg_create(VkvgSurface surf) @@ -160,7 +156,6 @@ VkvgContext vkvg_create(VkvgSurface surf) _createDescriptorPool (ctx); _init_descriptor_sets (ctx); _font_cache_update_context_descset (ctx); - _update_descriptor_set (ctx, ctx->dev->fontCache->texture, ctx->dsFont); _update_descriptor_set (ctx, surf->dev->emptyImg, ctx->dsSrc); _update_gradient_desc_set(ctx);