diff --git a/shell/platform/linux/fl_renderer.cc b/shell/platform/linux/fl_renderer.cc index a2163aae6ffb4..313355e3a3e17 100644 --- a/shell/platform/linux/fl_renderer.cc +++ b/shell/platform/linux/fl_renderer.cc @@ -25,6 +25,10 @@ static const char* vertex_shader_src = // Fragment shader to draw Flutter window contents. static const char* fragment_shader_src = + "#ifdef GL_ES\n" + "precision mediump float;\n" + "#endif\n" + "\n" "uniform sampler2D texture;\n" "varying vec2 texcoord;\n" "\n"