Unverified Commit 78f227f1 authored by Oleksandr Karpovich's avatar Oleksandr Karpovich Committed by GitHub

Fix loadOpenGLLibrary for web targets (#875)

parent a82cbd79
......@@ -43,6 +43,7 @@ enum class KotlinBackend(val id: String) {
fun isNotJs() = this != JS
}
// Note: it returns the host OS for web apps too
expect val hostOs: OS
expect val hostArch: Arch
......
......@@ -31,4 +31,8 @@ internal actual fun getCursorById(id: PredefinedCursorsId): Cursor =
PredefinedCursorsId.CROSSHAIR -> "crosshair"
PredefinedCursorsId.HAND -> "pointer"
PredefinedCursorsId.TEXT -> "text"
}
\ No newline at end of file
}
internal actual fun loadOpenGLLibrary() {
// Nothing to do here
}
\ No newline at end of file
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