From 1af38a730600ed1d3067378866979bc827e5b270 Mon Sep 17 00:00:00 2001 From: Emux Date: Sat, 26 Jan 2019 14:33:43 +0200 Subject: [PATCH] GLShader: Error: uniform u_mode specified with different precision in different shaders. Fix #641 --- vtm/resources/assets/shaders/line_aa.glsl | 1 - vtm/resources/assets/shaders/line_aa_proj.glsl | 1 - 2 files changed, 2 deletions(-) diff --git a/vtm/resources/assets/shaders/line_aa.glsl b/vtm/resources/assets/shaders/line_aa.glsl index 37fb979f..6ded73bb 100644 --- a/vtm/resources/assets/shaders/line_aa.glsl +++ b/vtm/resources/assets/shaders/line_aa.glsl @@ -8,7 +8,6 @@ uniform mat4 u_mvp; uniform float u_width; // xy hold position, zw extrusion vector attribute vec4 a_pos; -uniform int u_mode; uniform float u_height; varying vec2 v_st; diff --git a/vtm/resources/assets/shaders/line_aa_proj.glsl b/vtm/resources/assets/shaders/line_aa_proj.glsl index fbddf5af..d05507a2 100644 --- a/vtm/resources/assets/shaders/line_aa_proj.glsl +++ b/vtm/resources/assets/shaders/line_aa_proj.glsl @@ -8,7 +8,6 @@ uniform mat4 u_mvp; uniform float u_width; // xy hold position, zw extrusion vector attribute vec4 a_pos; -uniform int u_mode; uniform float u_height; varying vec2 v_st;