From 621f253f000863688d32f4f9a5a57db4690735c7 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 3 Jan 2025 17:14:30 +0100 Subject: Minor change --- src/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils.c') diff --git a/src/utils.c b/src/utils.c index 9295541..1feff9d 100644 --- a/src/utils.c +++ b/src/utils.c @@ -417,8 +417,8 @@ static bool version_greater_than(int major, int minor, int patch, int other_majo 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_egl *egl, int major, int minor, int patch) { - return version_greater_than(egl->gpu_info.driver_major, egl->gpu_info.driver_minor, egl->gpu_info.driver_patch, major, minor, 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) { -- cgit v1.2.3