mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
render/egl: remove *config_attribs and wlr_egl->config
Breaking changes: Both "EGLint *config_attribs" and "wlr_egl->config" no longer exist.
This commit is contained in:
parent
705b3da7cb
commit
8aa38fe73e
4 changed files with 9 additions and 32 deletions
|
|
@ -38,7 +38,6 @@ struct wlr_egl_context {
|
|||
|
||||
struct wlr_egl {
|
||||
EGLDisplay display;
|
||||
EGLConfig config; // may be EGL_NO_CONFIG
|
||||
EGLContext context;
|
||||
EGLDeviceEXT device; // may be EGL_NO_DEVICE_EXT
|
||||
struct gbm_device *gbm_device;
|
||||
|
|
@ -80,11 +79,8 @@ struct wlr_egl {
|
|||
/**
|
||||
* Initializes an EGL context for the given platform and remote display.
|
||||
* Will attempt to load all possibly required api functions.
|
||||
*
|
||||
* If config_attribs is NULL, the EGL config is not created.
|
||||
*/
|
||||
struct wlr_egl *wlr_egl_create(EGLenum platform, void *remote_display,
|
||||
const EGLint *config_attribs);
|
||||
struct wlr_egl *wlr_egl_create(EGLenum platform, void *remote_display);
|
||||
|
||||
/**
|
||||
* Frees all related EGL resources, makes the context not-current and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue