Skip to content

Commit

Permalink
* [core]: fix window border alpha with invert effect profile
Browse files Browse the repository at this point in the history
The bug appeared in preparation of the xcalib -i -a  effect simulation
inside oyranos-monitor.

oyranos-cms/oyranos#34
OpenICC/xcalib#4
  • Loading branch information
beku committed Feb 19, 2018
1 parent 170c96b commit d9ccdf7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compicc.c
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,8 @@ static int getProfileShader(CompScreen *s, CompTexture *texture, int param, int
/* colour transform through a texture lookup */
addDataOpToFunctionData(data, "TEX output, output, texture[%d], 3D;", unit);

/* recover alpha */
addDataOpToFunctionData(data, "MOV output.a, temp.a;");
/* multiply alpha */
addDataOpToFunctionData(data, "MUL output, temp.a, output;");

addColorOpToFunctionData (data, "output", "output");

Expand Down

0 comments on commit d9ccdf7

Please sign in to comment.