diff options
Diffstat (limited to 'src/cg-base.c')
-rw-r--r-- | src/cg-base.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cg-base.c b/src/cg-base.c index 2de0abc..c0abf47 100644 --- a/src/cg-base.c +++ b/src/cg-base.c @@ -61,6 +61,11 @@ libcoopgamma_crtc_info_t* crtc_info = NULL; */ size_t crtcs_n = 0; +/** + * The number of filters + */ +size_t filters_n = 0; + /** * Contexts for asynchronous ramp updates @@ -724,6 +729,7 @@ int main(int argc, char* argv[]) dealloc_crtcs = 1; for (; crtcs[crtcs_n] != NULL; crtcs_n++); } + filters_n = crtcs_n; if (crtcs_n == 0) { |