diff --git a/deps/agg/include/agg_rendering_buffer.h b/deps/agg/include/agg_rendering_buffer.h index e9e278b90..2bb32e903 100644 --- a/deps/agg/include/agg_rendering_buffer.h +++ b/deps/agg/include/agg_rendering_buffer.h @@ -176,6 +176,10 @@ namespace agg { m_rows.resize(height); } + else if(height == 0) + { + return; + } T* row_ptr = m_buf;