diff --git a/shell/platform/linux/fl_renderer.cc b/shell/platform/linux/fl_renderer.cc index 80bdbea2db06a..1abdcd0172038 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"