diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-02-09 06:51:22 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-02-09 06:51:22 +0100 |
commit | a3b9b89a7fd6dbde224d158d38a63b7210092e72 (patch) | |
tree | bc758432dc83cb7f27287ead6bc55a35124c8aaa /src/utils.c | |
parent | 86df5a580e83c5731c78b5d4f1ce5ce0077835d1 (diff) |
Attempt to fix incorrect hdr colors on kde plasma 6.2
Diffstat (limited to 'src/utils.c')
-rw-r--r-- | src/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c index 1feff9d..61ca856 100644 --- a/src/utils.c +++ b/src/utils.c @@ -413,7 +413,7 @@ bool gl_get_gpu_info(gsr_egl *egl, gsr_gpu_info *info) { return supported; } -static bool version_greater_than(int major, int minor, int patch, int other_major, int other_minor, int other_patch) { +bool version_greater_than(int major, int minor, int patch, int other_major, int other_minor, int other_patch) { return (major > other_major) || (major == other_major && minor > other_minor) || (major == other_major && minor == other_minor && patch > other_patch); } |