[core] Generalize Map::{add,remove}CustomLayer

This commit is contained in:
John Firebaugh
2016-04-25 13:14:34 -07:00
parent a43940afb2
commit d7e1ecd19e
10 changed files with 65 additions and 74 deletions

View File

@@ -1,7 +1,7 @@
#include <jni.h>
#include <GLES2/gl2.h>
#include <mbgl/style/types.hpp>
#include <mbgl/layer/custom_layer.hpp>
static const GLchar * vertexShaderSource = "attribute vec2 a_pos; void main() { gl_Position = vec4(a_pos, 0, 1); }";
static const GLchar * fragmentShaderSource = "void main() { gl_FragColor = vec4(0, 1, 0, 1); }";