commit 5667e4320443289a1c0bd02f54bf466bfc2c5895 Author: Xerxes Rånby Date: Fri Jul 17 14:16:58 2015 +0200 bcm/vc/iv/DisplayDriver depend on libEGL, pre-load it using GLProfile Fixes libnewt.so: undefined symbol: bcm_host_init" when the NEWT Screen is initialized before OpenGL ES. Signed-off-by: Xerxes Rånby diff --git a/src/newt/classes/jogamp/newt/driver/bcm/vc/iv/DisplayDriver.java b/src/newt/classes/jogamp/newt/driver/bcm/vc/iv/DisplayDriver.java index 3d3fde4..d111e85 100644 --- a/src/newt/classes/jogamp/newt/driver/bcm/vc/iv/DisplayDriver.java +++ b/src/newt/classes/jogamp/newt/driver/bcm/vc/iv/DisplayDriver.java @@ -40,6 +40,7 @@ import com.jogamp.common.nio.Buffers; import com.jogamp.common.util.IOUtil; import com.jogamp.opengl.egl.EGL; import com.jogamp.opengl.util.PNGPixelRect; +import com.jogamp.opengl.GLProfile; import jogamp.newt.DisplayImpl; import jogamp.newt.NEWTJNILibLoader; @@ -52,6 +53,7 @@ public class DisplayDriver extends DisplayImpl { static { NEWTJNILibLoader.loadNEWT(); + GLProfile.initSingleton(); if (!DisplayDriver.initIDs()) { throw new NativeWindowException("Failed to initialize bcm.vc.iv Display jmethodIDs");