aboutsummaryrefslogtreecommitdiffstats
path: root/src/cg-base.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-12-18 20:11:51 +0100
committerMattias Andrée <maandree@kth.se>2016-12-18 20:11:51 +0100
commit8e58eab57831515ed6cf4cc04f55db00d431ef84 (patch)
treed32af7312ea5f8fb81721f856ae681c9adca30b4 /src/cg-base.c
parentcg-base: add filters_n (diff)
downloadcg-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-base.c')
-rw-r--r--src/cg-base.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cg-base.c b/src/cg-base.c
index c0abf47..c8ed045 100644
--- a/src/cg-base.c
+++ b/src/cg-base.c
@@ -780,6 +780,7 @@ int main(int argc, char* argv[])
goto fail;
if (libcoopgamma_error_initialise(&(crtc_updates[crtcs_i].error)) < 0)
goto fail;
+ crtc_updates[crtcs_i].crtc = crtcs_i;
crtc_updates[crtcs_i].synced = 1;
crtc_updates[crtcs_i].failed = 0;
crtc_updates[crtcs_i].master = 1;