Commit 56ac3e85 authored by Nikolay Igotti's avatar Nikolay Igotti

Use METAL on macOS by default

parent aa3552f9
...@@ -19,7 +19,7 @@ actual open class SkiaLayer() { ...@@ -19,7 +19,7 @@ actual open class SkiaLayer() {
return true return true
} }
actual var renderApi: GraphicsApi = GraphicsApi.OPENGL actual var renderApi: GraphicsApi = GraphicsApi.METAL
actual val contentScale: Float actual val contentScale: Float
get() = if (this::nsView.isInitialized) nsView.window!!.backingScaleFactor.toFloat() else 1.0f get() = if (this::nsView.isInitialized) nsView.window!!.backingScaleFactor.toFloat() else 1.0f
......
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