Skip to content

Commit f35e82e

Browse files
committed
Forgot agg:int8u[]
1 parent 022f487 commit f35e82e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/_backend_agg.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ RendererAgg::_draw_path(path_t &path, bool has_clippath, const std::optional<agg
310310
((bool(face) + gc.has_hatchpath() + (gc.linewidth != 0)) > 1);
311311
if (isolate) {
312312
if (!otherPixBuffer) {
313-
otherPixBuffer = std::make_unique<agg::int8u>(NUMBYTES);
313+
otherPixBuffer = std::make_unique<agg::int8u[]>(NUMBYTES);
314314
}
315315
memset(otherPixBuffer.get(), 0, NUMBYTES);
316316
renderingBuffer.attach(otherPixBuffer.get(), width, height, width * 4);

0 commit comments

Comments
 (0)