aboutsummaryrefslogtreecommitdiffstats
path: root/src/cg-base.c
diff options
context:
space:
mode:
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;