From 1c806abdaade09c49847f4f5702bcacfbff4ff97 Mon Sep 17 00:00:00 2001 From: volzhs Date: Tue, 9 Jan 2018 16:44:56 +0900 Subject: Fix shader compile error on Android **ERROR**: EffectBlurShaderGLES3: Fragment Program Compilation Failed: 23:191: S0001: Type mismatch, cannot convert from 'int' to 'float' At: drivers/gles3/shader_gles3.cpp:168:_display_error_with_code() - EffectBlurShaderGLES3: Fragment Program Compilation Failed: --- drivers/gles3/shaders/effect_blur.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers') diff --git a/drivers/gles3/shaders/effect_blur.glsl b/drivers/gles3/shaders/effect_blur.glsl index b5f98a1244..c8567b4d53 100644 --- a/drivers/gles3/shaders/effect_blur.glsl +++ b/drivers/gles3/shaders/effect_blur.glsl @@ -214,7 +214,7 @@ void main() { vec4 color_accum = vec4(0.0); - float max_accum=0; + float max_accum=0.0; for(int i=0;i