mirror of
https://github.com/brl/mutter.git
synced 2025-02-24 08:54:08 +00:00
egl: Rename EGL simple config chooser
It just picked the first config, so name it accordingly. https://gitlab.gnome.org/GNOME/mutter/issues/2
This commit is contained in:
parent
0bf0e5780c
commit
b4d642be52
@ -266,7 +266,7 @@ meta_egl_get_proc_address (MetaEgl *egl,
|
|||||||
}
|
}
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
meta_egl_choose_config (MetaEgl *egl,
|
meta_egl_choose_first_config (MetaEgl *egl,
|
||||||
EGLDisplay display,
|
EGLDisplay display,
|
||||||
const EGLint *attrib_list,
|
const EGLint *attrib_list,
|
||||||
EGLConfig *chosen_config,
|
EGLConfig *chosen_config,
|
||||||
|
@ -56,7 +56,7 @@ gpointer meta_egl_get_proc_address (MetaEgl *egl,
|
|||||||
const char *procname,
|
const char *procname,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
gboolean meta_egl_choose_config (MetaEgl *egl,
|
gboolean meta_egl_choose_first_config (MetaEgl *egl,
|
||||||
EGLDisplay display,
|
EGLDisplay display,
|
||||||
const EGLint *attrib_list,
|
const EGLint *attrib_list,
|
||||||
EGLConfig *chosen_config,
|
EGLConfig *chosen_config,
|
||||||
|
@ -980,7 +980,7 @@ create_dummy_pbuffer_surface (EGLDisplay egl_display,
|
|||||||
EGL_NONE
|
EGL_NONE
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!meta_egl_choose_config (egl, egl_display, pbuffer_config_attribs,
|
if (!meta_egl_choose_first_config (egl, egl_display, pbuffer_config_attribs,
|
||||||
&pbuffer_config, error))
|
&pbuffer_config, error))
|
||||||
return EGL_NO_SURFACE;
|
return EGL_NO_SURFACE;
|
||||||
|
|
||||||
@ -2846,7 +2846,7 @@ create_secondary_egl_config (MetaEgl *egl,
|
|||||||
EGL_NONE
|
EGL_NONE
|
||||||
};
|
};
|
||||||
|
|
||||||
return meta_egl_choose_config (egl,
|
return meta_egl_choose_first_config (egl,
|
||||||
egl_display,
|
egl_display,
|
||||||
attributes,
|
attributes,
|
||||||
egl_config,
|
egl_config,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user