aboutsummaryrefslogtreecommitdiff
path: root/src/capture/portal.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-01-03 17:14:30 +0100
committerdec05eba <dec05eba@protonmail.com>2025-01-03 17:14:30 +0100
commit621f253f000863688d32f4f9a5a57db4690735c7 (patch)
treeba444bd869b5d83a7462203bb8428d2e9df07045 /src/capture/portal.c
parent68a7dc1b7fda0f5963bb2d0a54a0bb0262a28f70 (diff)
Minor change
Diffstat (limited to 'src/capture/portal.c')
-rw-r--r--src/capture/portal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/capture/portal.c b/src/capture/portal.c
index a441299..9161671 100644
--- a/src/capture/portal.c
+++ b/src/capture/portal.c
@@ -310,7 +310,7 @@ static int gsr_capture_portal_start(gsr_capture *cap, AVCodecContext *video_code
video_codec_context->height = FFALIGN(self->params.output_resolution.y, 2);
}
- self->fast_path_failed = self->params.egl->gpu_info.vendor == GSR_GPU_VENDOR_AMD && !gl_driver_version_greater_than(self->params.egl, 24, 0, 9);
+ self->fast_path_failed = self->params.egl->gpu_info.vendor == GSR_GPU_VENDOR_AMD && !gl_driver_version_greater_than(&self->params.egl->gpu_info, 24, 0, 9);
if(self->fast_path_failed)
fprintf(stderr, "gsr warning: gsr_capture_kms_start: your amd driver (mesa) version is known to be buggy (<= version 24.0.9), falling back to opengl copy\n");