Add more Raspberry Pi specific fixes to JOGL

This adds the following fixes on top of 2f4a52a814 (patches at https://github.com/gohai/jogl):
* Fix GL overlay offset when overscan is enabled
* Fix the value of mouseButton (#4499)
* Change libGLESv2 search order to work around longstanding issue in Raspbian
This commit is contained in:
gohai
2017-03-05 18:05:19 +01:00
parent 3169269220
commit f59855bb84
@@ -137,16 +137,6 @@ public class PSurfaceJOGL implements PSurface {
public void initFrame(PApplet sketch) {
this.sketch = sketch;
initIcons();
// https://jogamp.org/bugzilla/show_bug.cgi?id=1290
File mesaLib = new File("/usr/lib/arm-linux-gnueabihf/libGLESv2.so.2");
if (mesaLib.exists()) {
System.out.println("\nIf you are receiving an error regarding the undefined symbol bcm_host_init, " +
"make sure you have the package libgles2-mesa deinstalled. This can be done " +
"by executing \"sudo aptitude remove libgles2-mesa\" in the terminal, and is " +
"a known issue with the Raspbian distribution.\n");
}
initDisplay();
initGL();
initWindow();