Skip to content
This repository was archived by the owner on Jun 19, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ public static void main(String[] args) throws UltralightLoadException {
// Load the native libraries from the given directory. This method makes sure everything is loaded in the
// correct order. If you want to manually load all natives, either don't use this function or pass 'false' as
// the second parameter.
UltralightGPUDriverNativeUtil.load(nativesDir);
UltralightJava.load(nativesDir);
// Note that this order matters, as the libraries needed for the GPU Driver in the Ultralight SDK
// need to be loaded before the GPU driver.
UltralightJava.load(nativesDir);
UltralightGPUDriverNativeUtil.load(nativesDir);

// Create and run a simple test application
ExampleApplication application = new ExampleApplication();
Expand Down