]> O.S.I.I.S - jp/vkvg.git/commitdiff
add clear operation prior to blit in vkvg_surface_create_from_bitmap
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Mon, 24 Mar 2025 16:15:11 +0000 (17:15 +0100)
committerj-p <jp_bruyere@hotmail.com>
Mon, 24 Mar 2025 18:12:00 +0000 (19:12 +0100)
src/vkvg_surface.c

index 57d1bdebead10de418fa4ede1fd856b0bce51dda..0f6e5d059a72d7864587ec37cee5bf604580e332 100644 (file)
@@ -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);