mirror of
https://github.com/mapnik/mapnik.git
synced 2026-02-01 17:36:36 +00:00
merge with remote 2.3.x
This commit is contained in:
commit
fc0ca0d847
@ -684,7 +684,7 @@ void save_as_png8_hex(T1 & file,
|
||||
//transparency values per palette index
|
||||
std::vector<mapnik::rgba> pal;
|
||||
tree.create_palette(pal);
|
||||
assert(int(pal.size()) <= colors);
|
||||
assert(int(pal.size()) <= opts.colors);
|
||||
std::vector<mapnik::rgb> palette;
|
||||
std::vector<unsigned> alphaTable;
|
||||
for(unsigned i=0; i<pal.size(); i++)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user