Commit 3927409e authored by Roman Sedaikin's avatar Roman Sedaikin

Fixed Swing interop in Metal when we have multiple nested SkiaLayers.

parent bdc91b59
......@@ -16,6 +16,7 @@ internal class MetalContextHandler(layer: SkiaLayer) : ContextHandler(layer) {
try {
if (context == null) {
context = metalRedrawer.makeContext()
metalRedrawer.syncSize()
if (System.getProperty("skiko.hardwareInfo.enabled") == "true") {
println(rendererInfo())
}
......
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