From e1d06a81b148252b25fea22c47e29abc95e86ea4 Mon Sep 17 00:00:00 2001 From: francesco-ST Date: 2010年10月22日 15:46:07 +0200 Subject: fixed error with bounding box calculation / code simplification The "dispose" method was no longer needed. Now we use normal destructors. --- agg-plot/agg-parse-trans.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'agg-plot/agg-parse-trans.cpp') diff --git a/agg-plot/agg-parse-trans.cpp b/agg-plot/agg-parse-trans.cpp index d7f11d17..f7d23786 100644 --- a/agg-plot/agg-parse-trans.cpp +++ b/agg-plot/agg-parse-trans.cpp @@ -324,7 +324,7 @@ parse_graph_args (lua_State *L, agg::rgba8& color) } else if (gs_is_userdata (L, 2, GS_DRAW_DRAWABLE)) { - vertex_source *vs = (vertex_source *) lua_touserdata (L, 2); + drawable *vs = (drawable *) lua_touserdata (L, 2); w = new boxed_drawable(vs); } else -- cgit v1.2.3

AltStyle によって変換されたページ (->オリジナル) /