Attempt to fix incorrect hdr colors on kde plasma 6.2

This commit is contained in:
dec05eba
2025-02-09 06:51:22 +01:00
parent 86df5a580e
commit a3b9b89a7f
10 changed files with 89 additions and 29 deletions

View File

@@ -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);
}