diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2022-02-19 16:26:52 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2022-02-19 16:26:52 +0100 |
| commit | ffbd385875cff002f6fb478bc1da5add7c66ba93 (patch) | |
| tree | 4cbd95d9628c9178a2f3980312ebafb080680579 /src | |
| parent | b101a448a9d7dadcefd7ab612ed4229c01bdab23 (diff) | |
debug: _poly_fill vbo size check
Diffstat (limited to 'src')
| -rw-r--r-- | src/vkvg_context_internal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vkvg_context_internal.c b/src/vkvg_context_internal.c index b1bd258..42757a7 100644 --- a/src/vkvg_context_internal.c +++ b/src/vkvg_context_internal.c @@ -1570,7 +1570,7 @@ void _elliptic_arc (VkvgContext ctx, float x1, float y1, float x2, float y2, boo //Even-Odd inside test with stencil buffer implementation. void _poly_fill (VkvgContext ctx){ //we anticipate the check for vbo buffer size, ibo is not used in poly_fill - if (ctx->vertCount + ctx->pointCount < ctx->sizeVBO) { + if (ctx->vertCount + ctx->pointCount > ctx->sizeVBO) { if (ctx->cmdStarted) { _end_render_pass(ctx); _flush_vertices_caches(ctx); |