summaryrefslogtreecommitdiff
path: root/src/mbgl/shader/plain.vertex.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/shader/plain.vertex.glsl')
-rw-r--r--src/mbgl/shader/plain.vertex.glsl7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mbgl/shader/plain.vertex.glsl b/src/mbgl/shader/plain.vertex.glsl
new file mode 100644
index 0000000000..866c3cd2f3
--- /dev/null
+++ b/src/mbgl/shader/plain.vertex.glsl
@@ -0,0 +1,7 @@
+attribute vec2 a_pos;
+
+uniform mat4 u_matrix;
+
+void main() {
+ gl_Position = u_matrix * vec4(a_pos, 0, 1);
+}