agg-2.4.tar.gz-noarch-fixpathstoragewarning.diff [JoeB]
This commit is contained in:
parent
6798e52c58
commit
e837b46f5c
1 changed files with 1 additions and 1 deletions
2
deps/agg/include/agg_path_storage.h
vendored
2
deps/agg/include/agg_path_storage.h
vendored
|
@ -736,7 +736,7 @@ namespace agg
|
||||||
template<class VertexSource>
|
template<class VertexSource>
|
||||||
void join_path(VertexSource& vs, unsigned path_id = 0)
|
void join_path(VertexSource& vs, unsigned path_id = 0)
|
||||||
{
|
{
|
||||||
double x, y;
|
double x=0.0, y=0.0;
|
||||||
unsigned cmd;
|
unsigned cmd;
|
||||||
vs.rewind(path_id);
|
vs.rewind(path_id);
|
||||||
cmd = vs.vertex(&x, &y);
|
cmd = vs.vertex(&x, &y);
|
||||||
|
|
Loading…
Reference in a new issue