[Example] Migrate example to the new module
This commit is contained in:
1 parent
46f74381aa
commit
cf9e74b1d0
17 files changed
+489
-822
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user