summaryrefslogtreecommitdiff
path: root/vcl/glyphy/demo/demo-shader.cc
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/glyphy/demo/demo-shader.cc')
-rw-r--r--vcl/glyphy/demo/demo-shader.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/glyphy/demo/demo-shader.cc b/vcl/glyphy/demo/demo-shader.cc
index 9b8212333175..dc5fbaa21edd 100644
--- a/vcl/glyphy/demo/demo-shader.cc
+++ b/vcl/glyphy/demo/demo-shader.cc
@@ -98,8 +98,8 @@ demo_shader_add_glyph_vertices (const glyphy_point_t &p,
if (extents) {
glyphy_extents_clear (extents);
for (unsigned int i = 0; i < 4; i++) {
- glyphy_point_t p = {v[i].x, v[i].y};
- glyphy_extents_add (extents, &p);
+ glyphy_point_t p2 = {v[i].x, v[i].y};
+ glyphy_extents_add (extents, &p2);
}
}
}