with_discrete_layer(): Propagate errors from cairo::ImageSurface::create()

This is the second part of #345.
parent 78c2ab10
......@@ -405,7 +405,7 @@ impl<'a> DrawingCtx<'a> {
self.rect.width as i32,
self.rect.height as i32,
if filter.is_some() {
<path d="M0,0 L1,0 L100000,100000" style="opacity:0"/>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment