Browse Source

Fix for issue #143

- removed duplicate call to nvgTextMetrics()
shared-context
Mikko Mononen 10 years ago
parent
commit
6b69e7bce0
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      src/nanovg.c

+ 0
- 2
src/nanovg.c View File

@@ -2674,8 +2674,6 @@ void nvgTextBoxBounds(NVGcontext* ctx, float x, float y, float breakRowWidth, co


nvgTextMetrics(ctx, NULL, NULL, &lineh); nvgTextMetrics(ctx, NULL, NULL, &lineh);


nvgTextMetrics(ctx, NULL, NULL, &lineh);

state->textAlign = NVG_ALIGN_LEFT | valign; state->textAlign = NVG_ALIGN_LEFT | valign;


minx = maxx = x; minx = maxx = x;


Loading…
Cancel
Save