Skip to content

Commit

Permalink
Fix warping when rotating / zooming really fast
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Wojciechowski committed Dec 18, 2015
1 parent f51e1b9 commit eb89e3a
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion shaders/circle.vertex.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ uniform float u_size;

attribute vec2 a_pos;

uniform mat4 u_matrix;
uniform highp mat4 u_matrix;
uniform mat4 u_exmatrix;

varying vec2 v_extrude;
Expand Down
2 changes: 1 addition & 1 deletion shaders/collisionbox.vertex.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ attribute vec2 a_pos;
attribute vec2 a_extrude;
attribute vec2 a_data;

uniform mat4 u_matrix;
uniform highp mat4 u_matrix;
uniform float u_scale;

varying float v_max_zoom;
Expand Down
2 changes: 1 addition & 1 deletion shaders/debug.vertex.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ precision mediump float;

attribute vec2 a_pos;

uniform mat4 u_matrix;
uniform highp mat4 u_matrix;

void main() {
gl_Position = u_matrix * vec4(a_pos, step(32767.0, a_pos.x), 1);
Expand Down
2 changes: 1 addition & 1 deletion shaders/dot.vertex.glsl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
precision mediump float;

uniform mat4 u_matrix;
uniform highp mat4 u_matrix;
uniform float u_size;

attribute vec2 a_pos;
Expand Down
2 changes: 1 addition & 1 deletion shaders/fill.vertex.glsl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
precision mediump float;

attribute vec2 a_pos;
uniform mat4 u_matrix;
uniform highp mat4 u_matrix;

void main() {
gl_Position = u_matrix * vec4(a_pos, 0, 1);
Expand Down
2 changes: 1 addition & 1 deletion shaders/pattern.vertex.glsl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
precision mediump float;

uniform mat4 u_matrix;
uniform highp mat4 u_matrix;
uniform mat3 u_patternmatrix_a;
uniform mat3 u_patternmatrix_b;

Expand Down
2 changes: 1 addition & 1 deletion shaders/raster.vertex.glsl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
precision mediump float;

uniform mat4 u_matrix;
uniform highp mat4 u_matrix;
uniform vec2 u_tl_parent;
uniform float u_scale_parent;
uniform float u_buffer_scale;
Expand Down

0 comments on commit eb89e3a

Please sign in to comment.