[Example] Migrate example to the new module

This commit is contained in:
SpaiR committed 2021-01-24 22:20:37 +02:00
1 parent 46f74381aa
commit cf9e74b1d0
17 files changed
+489 -822

No files matched your search

+3 -3
View File
@@ -45,10 +45,10 @@ public class ImGui {
final String extractedLibAbsPath = tryLoadFromClasspath(fullLibName);
if (extractedLibAbsPath != null) {
System.load(extractedLibAbsPath);
} else if (libPath != null) {
if (libPath != null) {
System.load(Paths.get(libPath).resolve(fullLibName).toFile().getAbsolutePath());
} else if (extractedLibAbsPath != null) {
System.load(extractedLibAbsPath);
} else {
System.loadLibrary(libName);
}