diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-04-20 15:03:43 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-04-20 15:03:43 -0400 |
commit | adc0e91ddbe70c2127d39c337d9b4a09ea752425 (patch) | |
tree | 36d573976865ff5793812edb6ea3261799bfb742 /text.c | |
parent | a57a9682e74ff3609acb2ca6697fc6fa94c23fb6 (diff) |
silence GCC warnings
Diffstat (limited to 'text.c')
-rw-r--r-- | text.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -322,12 +322,12 @@ top: } if (state->render) { float r = state->color[0], g = state->color[1], b = state->color[2], a = state->color[3]; - TextVertex v1 = {{x0, y0}, {s0, t0}, {r, g, b, a}}; - TextVertex v2 = {{x0, y1}, {s0, t1}, {r, g, b, a}}; - TextVertex v3 = {{x1, y1}, {s1, t1}, {r, g, b, a}}; - TextVertex v4 = {{x1, y0}, {s1, t0}, {r, g, b, a}}; - TextTriangle triangle1 = {v1, v2, v3}; - TextTriangle triangle2 = {v3, v4, v1}; + TextVertex v_1 = {{x0, y0}, {s0, t0}, {r, g, b, a}}; + TextVertex v_2 = {{x0, y1}, {s0, t1}, {r, g, b, a}}; + TextVertex v_3 = {{x1, y1}, {s1, t1}, {r, g, b, a}}; + TextVertex v_4 = {{x1, y0}, {s1, t0}, {r, g, b, a}}; + TextTriangle triangle1 = {v_1, v_2, v_3}; + TextTriangle triangle2 = {v_3, v_4, v_1}; arr_add(font->triangles[page], triangle1); arr_add(font->triangles[page], triangle2); } |