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) { ...@@ -43,6 +43,7 @@ enum class KotlinBackend(val id: String) {
fun isNotJs() = this != JS fun isNotJs() = this != JS
} }
// Note: it returns the host OS for web apps too
expect val hostOs: OS expect val hostOs: OS
expect val hostArch: Arch expect val hostArch: Arch
......
...@@ -32,3 +32,7 @@ internal actual fun getCursorById(id: PredefinedCursorsId): Cursor = ...@@ -32,3 +32,7 @@ internal actual fun getCursorById(id: PredefinedCursorsId): Cursor =
PredefinedCursorsId.HAND -> "pointer" PredefinedCursorsId.HAND -> "pointer"
PredefinedCursorsId.TEXT -> "text" PredefinedCursorsId.TEXT -> "text"
} }
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