Commit 49884b79 authored by Roman Gilg's avatar Roman Gilg

[lookandfeel] Only constant globals in shader code for GL ES compatibility

Globals need to be constant in shader code for some GL ES versions.
Otherwise leads to non-compiling shader.

Reviewers: #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D9158
parent d90c63ac
......@@ -103,7 +103,7 @@ Item {
uniform lowp vec4 colorBorder;
highp float blend = 0.01;
highp float innerRadius = 0.47;
highp float outerRadius = innerRadius + 0.02;
highp float outerRadius = 0.49;
lowp vec4 colorEmpty = vec4(0.0, 0.0, 0.0, 0.0);
void main() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment