mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
render: drop egl parameters from wlr_renderer_autocreate
This commit is contained in:
parent
affc59454e
commit
e128e6c08d
8 changed files with 35 additions and 15 deletions
|
|
@ -5,6 +5,7 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <gbm.h>
|
||||
#include <wlr/render/egl.h>
|
||||
#include <wlr/util/log.h>
|
||||
#include <wlr/util/region.h>
|
||||
|
|
@ -362,6 +363,10 @@ void wlr_egl_destroy(struct wlr_egl *egl) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (egl->gbm_device) {
|
||||
gbm_device_destroy(egl->gbm_device);
|
||||
}
|
||||
|
||||
wlr_drm_format_set_finish(&egl->dmabuf_render_formats);
|
||||
wlr_drm_format_set_finish(&egl->dmabuf_texture_formats);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue