From cf4ce6efb5ce26b0d26e58e903294c84fd46c568 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Philippe=20Bruy=C3=A8re?= Date: Fri, 18 Feb 2022 19:58:00 +0100 Subject: [PATCH] cleanup --- src/vkvg_context.c | 5 ----- 1 file changed, 5 deletions(-) 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); -- 2.47.3