remove GlAdapter.VBO_TEXTURE_LAYERS hack
This commit is contained in:
parent
9c1ae887ea
commit
89edbf90f2
@ -28,11 +28,9 @@ public class GLAdapter {
|
||||
public static boolean GDX_WEBGL_QUIRKS = false;
|
||||
|
||||
/**
|
||||
* Set false as workaround for adreno driver issue:
|
||||
* Set true as workaround for adreno driver issue:
|
||||
* https://github.com/opensciencemap/vtm/issues/52
|
||||
*/
|
||||
public static boolean VBO_TEXTURE_LAYERS = true;
|
||||
|
||||
public static boolean NO_BUFFER_SUB_DATA = false;
|
||||
|
||||
public static GL20 get() {
|
||||
|
@ -19,7 +19,6 @@ package org.oscim.layers.marker;
|
||||
|
||||
import java.util.Comparator;
|
||||
|
||||
import org.oscim.backend.GLAdapter;
|
||||
import org.oscim.core.MercatorProjection;
|
||||
import org.oscim.core.Point;
|
||||
import org.oscim.core.Tile;
|
||||
@ -62,8 +61,6 @@ public class MarkerRenderer extends ElementRenderer {
|
||||
}
|
||||
|
||||
public MarkerRenderer(MarkerLayer<MarkerItem> markerLayer, MarkerSymbol defaultSymbol) {
|
||||
layers.useVBO = GLAdapter.VBO_TEXTURE_LAYERS;
|
||||
|
||||
mSymbolLayer = new SymbolLayer();
|
||||
mMarkerLayer = markerLayer;
|
||||
mDefaultMarker = defaultSymbol;
|
||||
|
@ -31,7 +31,6 @@ package org.oscim.layers.tile.vector.labeling;
|
||||
//
|
||||
|
||||
import org.oscim.backend.GL20;
|
||||
import org.oscim.backend.GLAdapter;
|
||||
import org.oscim.layers.tile.vector.labeling.LabelLayer.Worker;
|
||||
import org.oscim.renderer.ElementRenderer;
|
||||
import org.oscim.renderer.GLState;
|
||||
@ -49,8 +48,6 @@ class TextRenderer extends ElementRenderer {
|
||||
|
||||
public TextRenderer(Worker worker) {
|
||||
mWorker = worker;
|
||||
|
||||
layers.useVBO = GLAdapter.VBO_TEXTURE_LAYERS;
|
||||
}
|
||||
|
||||
long lastDraw = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user