diff options
| -rw-r--r-- | gui/fpgaviewwidget.h | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/fpgaviewwidget.h b/gui/fpgaviewwidget.h index 77735071..0cd84c9c 100644 --- a/gui/fpgaviewwidget.h +++ b/gui/fpgaviewwidget.h @@ -191,6 +191,7 @@ class LineShader      }      static constexpr const char *vertexShaderSource_ = +            "#version 110\n"              "attribute highp vec2  position;\n"              "attribute highp vec2  normal;\n"              "attribute highp float miter;\n" @@ -201,7 +202,8 @@ class LineShader              "   gl_Position = projection * vec4(p, 0.0, 1.0);\n"              "}\n"; -    static constexpr const char *fragmentShaderSource_ = "uniform   lowp  vec4  color;\n" +    static constexpr const char *fragmentShaderSource_ = "#version 110\n" +                                                         "uniform   lowp  vec4  color;\n"                                                           "void main() {\n"                                                           "   gl_FragColor = color;\n"                                                           "}\n";  | 
