diff --git a/include/mapnik/grid/grid_pixfmt.hpp b/include/mapnik/grid/grid_pixfmt.hpp index 315d89109..30c43fcd2 100644 --- a/include/mapnik/grid/grid_pixfmt.hpp +++ b/include/mapnik/grid/grid_pixfmt.hpp @@ -258,7 +258,16 @@ public: const color_type& c, agg::int8u cover) { - if (c.a) + value_type* p = (value_type*) + m_rbuf->row_ptr(x, y, len) + x * Step + Offset; + do + { + *p = c.v; + p += Step; + } + while(--len); + // We ignore alpha since grid_renderer is a binary renderer for now + /*if (c.a) { value_type* p = (value_type*) m_rbuf->row_ptr(x, y, len) + x * Step + Offset; @@ -282,7 +291,7 @@ public: } while(--len); } - } + }*/ }