From b91c680fb93a03720ff9fcb39cf052cfe8d40e76 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 25 Dec 2019 02:07:50 +0100 Subject: Bug 1156: Seperate DRM/GBM NEWT native library from main head NEWT native library DRM/GBM is enabled for Linux in general. Nativewindow's 'nativewindow_drm' DRM/GBM native library is already seperated. NEWT get its 'newt_drm' DRM/GBM native library. NEWT's main head native library is renamed from 'newt' -> 'newt_head' and is earmarked for further seperation similar to Nativewindow's. At least a 'newt_wayland' will probably followup when support is added. Goal is to remove DRM/GBM dependency for Linux X11 operation as well as removing X11 dependency for Linux DRM/GBM operation. --- src/newt/classes/com/jogamp/newt/util/MainThread.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/newt/classes/com/jogamp') diff --git a/src/newt/classes/com/jogamp/newt/util/MainThread.java b/src/newt/classes/com/jogamp/newt/util/MainThread.java index 05df63794..9372de26c 100644 --- a/src/newt/classes/com/jogamp/newt/util/MainThread.java +++ b/src/newt/classes/com/jogamp/newt/util/MainThread.java @@ -104,7 +104,7 @@ public class MainThread { static { NativeWindowFactory.initSingleton(); - NEWTJNILibLoader.loadNEWT(); + NEWTJNILibLoader.loadNEWTHead(); HINT_USE_MAIN_THREAD = !NativeWindowFactory.isAWTAvailable() || PropertyAccess.getBooleanProperty("newt.MainThread.force", true); osType = Platform.getOSType(); -- cgit v1.2.3