private static void enableOpenGLIfNecessary(){
  if (OperatingSystemDetector.isMac()) {
    Log.i("Enabling OpenGL.");
    System.setProperty("sun.java2d.opengl","True");
  }
 else {
    Log.i("Not using OpenGL.");
  }
}

private static void enableOpenGLIfNecessary ( ) { if ( OperatingSystemDetector . isMac ( ) ) { Log . i ( "Enabling OpenGL." ) ; System . setProperty ( "sun.java2d.opengl" , "True" ) ; } else { Log . i ( "Not using OpenGL." ) ; } }
we only use opengl on os x , because it caused lots of bugs on windows and performance issues on linux . also , this is the behavior of amidst v3 . 7 . on windows direct3d is better supported and the default . linux has accelerated images without activating opengl . the reason for this is still unknown to the developers of amidst . https : / / github . com / toolbox4minecraft / amidst / pull / 94
