gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/agg-parse-trans.cpp
diff options
context:
space:
mode:
authorfrancesco-ST <francesco.abbate@st.com>2010年10月22日 15:46:07 +0200
committerfrancesco-ST <francesco.abbate@st.com>2010年10月22日 15:46:07 +0200
commite1d06a81b148252b25fea22c47e29abc95e86ea4 (patch)
tree5ac6593477800de35c1f268fc11214ce07e59a28 /agg-plot/agg-parse-trans.cpp
parent60e7238f4c48e7653c4627c6bd78b959044687e9 (diff)
downloadgsl-shell-e1d06a81b148252b25fea22c47e29abc95e86ea4.tar.gz
fixed error with bounding box calculation / code simplification
The "dispose" method was no longer needed. Now we use normal destructors.
Diffstat (limited to 'agg-plot/agg-parse-trans.cpp')
-rw-r--r--agg-plot/agg-parse-trans.cpp 2
1 files changed, 1 insertions, 1 deletions
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
generated by cgit v1.2.3 (git 2.25.1) at 2025年09月15日 06:52:15 +0000

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