From 3e3d8a179f270a01705491851ad1f4a5da642090 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 30 Mar 2025 18:11:25 +0200 Subject: Fix incorrect region for region capture after compute shader change --- src/utils.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/utils.c') diff --git a/src/utils.c b/src/utils.c index 24f5a6d..d3b7e59 100644 --- a/src/utils.c +++ b/src/utils.c @@ -427,14 +427,6 @@ bool gl_get_gpu_info(gsr_egl *egl, gsr_gpu_info *info) { return supported; } -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); -} - -bool gl_driver_version_greater_than(const gsr_gpu_info *gpu_info, int major, int minor, int patch) { - return version_greater_than(gpu_info->driver_major, gpu_info->driver_minor, gpu_info->driver_patch, major, minor, patch); -} - bool try_card_has_valid_plane(const char *card_path) { drmVersion *ver = NULL; drmModePlaneResPtr planes = NULL; -- cgit v1.2.3-70-g09d2