diff options
author | Mattias Andrée <maandree@kth.se> | 2016-12-18 20:11:51 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-12-18 20:11:51 +0100 |
commit | 8e58eab57831515ed6cf4cc04f55db00d431ef84 (patch) | |
tree | d32af7312ea5f8fb81721f856ae681c9adca30b4 /src/cg-rainbow.c | |
parent | cg-base: add filters_n (diff) | |
download | cg-tools-8e58eab57831515ed6cf4cc04f55db00d431ef84.tar.gz cg-tools-8e58eab57831515ed6cf4cc04f55db00d431ef84.tar.bz2 cg-tools-8e58eab57831515ed6cf4cc04f55db00d431ef84.tar.xz |
struct filter_update: add crtc
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/cg-rainbow.c')
-rw-r--r-- | src/cg-rainbow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cg-rainbow.c b/src/cg-rainbow.c index f6e6460..8cb5871 100644 --- a/src/cg-rainbow.c +++ b/src/cg-rainbow.c @@ -249,7 +249,7 @@ int start(void) for (i = 0, r = 1; i < filters_n; i++) { - if (!(crtc_updates[i].master) || !(crtc_info[i].supported)) + if (!(crtc_updates[i].master) || !(crtc_info[crtc_updates[i].crtc].supported)) continue; fill_filter(&(crtc_updates[i].filter), pal[0], pal[1], pal[2]); r = update_filter(i, 0); |