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>
This commit is contained in:
parent
672696f823
commit
8ccbb32f71
@ -349,7 +349,7 @@ meta_egl_choose_all_configs (MetaEgl *egl,
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
*out_num_configs = num_configs;
|
*out_num_configs = num_matches;
|
||||||
return configs;
|
return configs;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user