dont use vbo texture-layers for samsung devices with kitkat

This commit is contained in:
Hannes Janetzek
2014-05-08 12:33:22 +02:00
parent f207a6eb4a
commit ee3ffa8cec
2 changed files with 10 additions and 5 deletions

View File

@@ -24,16 +24,14 @@ public class GLAdapter {
/** The instance provided by backend */
private static GL20 g;
public static boolean GDX_DESKTOP_QUIRKS;
public static boolean GDX_WEBGL_QUIRKS;
public static boolean NON_PREMUL_CANVAS;
public static boolean GDX_DESKTOP_QUIRKS = false;
public static boolean GDX_WEBGL_QUIRKS = false;
/**
* Set false as workaround for adreno driver issue:
* https://github.com/opensciencemap/vtm/issues/52
*/
public static boolean VBO_TEXTURE_LAYERS = false;
public static boolean VBO_TEXTURE_LAYERS = true;
public static GL20 get() {
if (g == null)