]> O.S.I.I.S - jp/vkvg.git/commitdiff
add todo comment
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Sun, 20 Feb 2022 19:52:22 +0000 (20:52 +0100)
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Sun, 20 Feb 2022 19:52:22 +0000 (20:52 +0100)
src/vkvg_context_internal.c

index c526db8a11217d04f14beb9a5414ade108fa071a..0d841321d59c721a97d1a12a1c32baeb1ea6a788 100644 (file)
@@ -1916,7 +1916,7 @@ void _draw_full_screen_quad (VkvgContext ctx, bool useScissor) {
                }
        }
 
-       uint32_t firstVertIdx = ctx->vertCount;
+       uint32_t firstVertIdx = ctx->vertCount;//TODO:vxCache size is tested 3 times, must be optimized with only one check.
        _add_vertexf (ctx, -1, -1);
        _add_vertexf (ctx,  3, -1);
        _add_vertexf (ctx, -1,  3);