[mutter] egl: Fix number of configs returned in meta_egl_choose_all_configs
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] egl: Fix number of configs returned in meta_egl_choose_all_configs
- Date: Thu, 3 Mar 2022 08:49:03 +0000 (UTC)
commit 8ccbb32f71dc9427e3198b7ff19f2fd950fcfefc
Author: Alfonso Sánchez-Beato <alfonso sanchez-beato canonical com>
Date: Mon Feb 21 12:14:28 2022 +0100
egl: Fix number of configs returned in meta_egl_choose_all_configs
Return in meta_egl_choose_all_configs() the actual number of
configurations returned by eglChooseConfig(), which are not
necessarily the same number as those from eglGetConfigs().
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2303>
src/backends/meta-egl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/backends/meta-egl.c b/src/backends/meta-egl.c
index 8adc2407e7..07e46812dd 100644
--- a/src/backends/meta-egl.c
+++ b/src/backends/meta-egl.c
@@ -349,7 +349,7 @@ meta_egl_choose_all_configs (MetaEgl *egl,
return NULL;
}
- *out_num_configs = num_configs;
+ *out_num_configs = num_matches;
return configs;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]