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:
This commit is contained in:
volzhs 2018-01-09 16:44:56 +09:00
parent 4b414f45c4
commit 1c806abdaa
1 changed files with 1 additions and 1 deletions

View File

@ -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<dof_kernel_size;i++) {