Defining the default draw target avoids the previous mix of cairo and d2d layers, which would trigger an assertion when capturing a page with the widget layers.
Defining the default draw target avoids the previous mix of cairo and d2d layers, which would trigger an assertion when capturing a page with the widget layers.