this.gl = gl10;\r
if (gl instanceof javax.microedition.khronos.opengles.GL11) {\r
String renderer = gl.glGetString(GL10.GL_RENDERER);\r
- if (renderer.toLowerCase().contains("pixelflinger")) return;\r
-\r
- if (android.os.Build.MODEL.equals("MB200") || android.os.Build.MODEL.equals("MB220")\r
- || android.os.Build.MODEL.contains("Behold")) return;\r
+ if (!renderer.toLowerCase().contains("pixelflinger") &&\r
+ !(android.os.Build.MODEL.equals("MB200") || android.os.Build.MODEL.equals("MB220")\r
+ || android.os.Build.MODEL.contains("Behold"))) {\r
gl11 = new AndroidGL11((javax.microedition.khronos.opengles.GL11)gl);\r
gl10 = gl11;\r
+ }\r
}\r
}\r
-\r
+ \r
Gdx.gl = this.gl;\r
Gdx.gl10 = gl10;\r
Gdx.gl11 = gl11;\r