Skip to content

Commit

Permalink
Location renderer: use highp in vertex and fragment shaders openscien…
Browse files Browse the repository at this point in the history
  • Loading branch information
devemux86 committed Sep 17, 2016
1 parent 50ccecc commit 0c898bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vtm/src/org/oscim/renderer/LocationRenderer.java
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ private boolean init() {
}

private static final String vShaderStr = ""
+ "precision mediump float;"
+ "precision highp float;"
+ "uniform mat4 u_mvp;"
+ "uniform float u_phase;"
+ "uniform float u_scale;"
Expand All @@ -276,7 +276,7 @@ private boolean init() {
+ "}";

private static final String fShaderStr1 = ""
+ "precision mediump float;"
+ "precision highp float;"
+ "varying vec2 v_tex;"
+ "uniform float u_scale;"
+ "uniform float u_phase;"
Expand Down Expand Up @@ -305,7 +305,7 @@ private boolean init() {
+ "}}";

private static final String fShaderStr2 = ""
+ "precision mediump float;"
+ "precision highp float;"
+ "varying vec2 v_tex;"
+ "uniform float u_scale;"
+ "uniform float u_phase;"
Expand Down

0 comments on commit 0c898bf

Please sign in to comment.