summaryrefslogtreecommitdiff
path: root/src/shader/dot.vertex.glsl
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2014-09-05 11:52:23 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2014-09-05 13:23:14 -0700
commit9d5f02ccaa051a0f3459f6fc94df807338fa2552 (patch)
tree0b13c6913c61aa01e928983a0e33f1a0bd197ad4 /src/shader/dot.vertex.glsl
parent7b9ad022a904110eb15260b2cbf56e6f6b8a03cf (diff)
downloadqtlocation-mapboxgl-9d5f02ccaa051a0f3459f6fc94df807338fa2552.tar.gz
Match js shaders
The only non-incidental change is to revert portions of d5b4c116 and 3a9a9043. See https://github.com/mapbox/mapbox-gl-native/commit/d5b4c1162dab706d6f56881e3f72baa003ad8ac7#commitcomment-7668050
Diffstat (limited to 'src/shader/dot.vertex.glsl')
-rw-r--r--src/shader/dot.vertex.glsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader/dot.vertex.glsl b/src/shader/dot.vertex.glsl
index a0d64c33b1..5310ae745e 100644
--- a/src/shader/dot.vertex.glsl
+++ b/src/shader/dot.vertex.glsl
@@ -1,8 +1,8 @@
-attribute vec2 a_pos;
-
uniform mat4 u_matrix;
uniform float u_size;
+attribute vec2 a_pos;
+
void main(void) {
gl_Position = u_matrix * vec4(a_pos, 0, 1);
gl_PointSize = u_size;