gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/agg-plot/lua-plot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'agg-plot/lua-plot.cpp')
-rw-r--r--agg-plot/lua-plot.cpp 5
1 files changed, 3 insertions, 2 deletions
diff --git a/agg-plot/lua-plot.cpp b/agg-plot/lua-plot.cpp
index d230b6b8..c98dcca3 100644
--- a/agg-plot/lua-plot.cpp
+++ b/agg-plot/lua-plot.cpp
@@ -146,8 +146,9 @@ int
plot_add_gener (lua_State *L, bool as_line)
{
lua_plot *p = object_check<lua_plot>(L, 1, GS_PLOT);
- drawable *obj = parse_graph_args (L);
- agg::rgba8 *color = check_color_rgba8 (L, 3);
+
+ agg::rgba8 color;
+ drawable *obj = parse_graph_args (L, color);
object_refs_add (L, table_plot_obj, p->current_layer_index(), 1, 2);
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月13日 18:15:23 +0000

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