diff --git a/vtm/src/org/oscim/renderer/MapRenderer.java b/vtm/src/org/oscim/renderer/MapRenderer.java index 57f19c00..a5c54836 100644 --- a/vtm/src/org/oscim/renderer/MapRenderer.java +++ b/vtm/src/org/oscim/renderer/MapRenderer.java @@ -295,7 +295,8 @@ public class MapRenderer { } public void onSurfaceChanged(int width, int height) { - log.debug("SurfaceChanged: " + mNewSurface + " " + width + "x" + height); + log.debug("onSurfaceChanged: new={}, {}x{}", + mNewSurface, width, height); if (width <= 0 || height <= 0) return; @@ -392,6 +393,8 @@ public class MapRenderer { * Bind VBO for a simple quad. Handy for simple custom RenderLayers * Vertices: float[]{ -1, -1, -1, 1, 1, -1, 1, 1 } * + * GL.glDrawArrays(GL20.GL_TRIANGLE_STRIP, 0, 4); + * * @param bind - true to activate, false to unbind */ public static void bindQuadVertexVBO(int location, boolean bind) {