Skip to content

Commit 2af3af8

Browse files
committed
fix: use relative path for Natives
1 parent 7d22574 commit 2af3af8

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/dev/silenium/compose/gl/util

1 file changed

+1
-1
lines changed

src/main/java/dev/silenium/compose/gl/util/Natives.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ object Natives {
2222
fun load(libFileName: String) {
2323
val libFile = libs.getOrPut(libFileName) {
2424
val outputFile = dir.resolve(libFileName)
25-
Natives::class.java.getResourceAsStream("/natives/$libFileName")!!.use { input ->
25+
Natives::class.java.getResourceAsStream("natives/$libFileName")!!.use { input ->
2626
outputFile.outputStream().use { output ->
2727
input.copyTo(output)
2828
}

0 commit comments

Comments
 (0)