From: Jean-Philippe Bruyère Date: Mon, 24 Mar 2025 16:15:11 +0000 (+0100) Subject: add clear operation prior to blit in vkvg_surface_create_from_bitmap X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=7e7e2b0c5a6810683caf88dcd98a4fae96cb2331;p=jp%2Fvkvg.git add clear operation prior to blit in vkvg_surface_create_from_bitmap --- diff --git a/src/vkvg_surface.c b/src/vkvg_surface.c index 57d1bde..0f6e5d0 100644 --- a/src/vkvg_surface.c +++ b/src/vkvg_surface.c @@ -153,7 +153,7 @@ VkvgSurface vkvg_surface_create_from_bitmap(VkvgDevice dev, unsigned char *img, vkh_buffer_reset(&buff); vkh_image_destroy(stagImg); - surf->newSurf = false; + surf->newSurf = true; // create tmp context with rendering pipeline to create the multisample img VkvgContext ctx = vkvg_create(surf);