-rw-r--r-- | agg-plot/lua-draw.cpp | 5 |
diff --git a/agg-plot/lua-draw.cpp b/agg-plot/lua-draw.cpp index ad2cd4c6..3bb53ac8 100644 --- a/agg-plot/lua-draw.cpp +++ b/agg-plot/lua-draw.cpp @@ -26,6 +26,7 @@ extern "C" { } #include "lua-draw.h" +#include "lua-graph.h" #include "text-shape.h" #include "lua-cpp-utils.h" #include "gs-types.h" @@ -33,8 +34,6 @@ extern "C" { #include "colors.h" #include "sg_marker.h" -pthread_mutex_t agg_mutex[1]; - enum path_cmd_e { CMD_ERROR = -1, CMD_MOVE_TO = 0, @@ -312,8 +311,6 @@ marker_free (lua_State *L) void draw_register (lua_State *L) { - pthread_mutex_init (agg_mutex, NULL); - luaL_newmetatable (L, GS_METATABLE(GS_DRAW_PATH)); luaL_register (L, NULL, agg_path_methods); lua_pop (L, 1); |