[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
wilder-5.14
Roman Gilg 8 years ago
parent d90c63ac8f
commit 49884b79f9
  1. 2
      lookandfeel/contents/components/UserDelegate.qml

@ -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() {

Loading…
Cancel
Save