fix compiler warnings after r1111 (adding png256 alpha support)
This commit is contained in:
parent
618fa0d2c0
commit
263674d3d9
2 changed files with 3 additions and 3 deletions
|
@ -114,8 +114,8 @@ namespace mapnik {
|
|||
: max_colors_(max_colors),
|
||||
colors_(0),
|
||||
leaf_level_(InsertPolicy::MAX_LEVELS),
|
||||
root_(new node()),
|
||||
has_alfa_(false)
|
||||
has_alfa_(false),
|
||||
root_(new node())
|
||||
{}
|
||||
|
||||
~octree() { delete root_;}
|
||||
|
|
|
@ -184,7 +184,7 @@ namespace mapnik {
|
|||
if (hasAlfa)
|
||||
{
|
||||
byte trans[] = {0,0,0,0};
|
||||
png_color_16p unused;
|
||||
//png_color_16p unused;
|
||||
png_set_tRNS(png_ptr, info_ptr, (png_bytep)trans, 1, NULL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue