|
|
@ -5,7 +5,6 @@
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <gbm.h>
|
|
|
|
|
|
|
|
#include <wlr/render/egl.h>
|
|
|
|
#include <wlr/render/egl.h>
|
|
|
|
#include <wlr/util/log.h>
|
|
|
|
#include <wlr/util/log.h>
|
|
|
|
#include <wlr/util/region.h>
|
|
|
|
#include <wlr/util/region.h>
|
|
|
@ -488,10 +487,6 @@ void wlr_egl_destroy(struct wlr_egl *egl) {
|
|
|
|
eglTerminate(egl->display);
|
|
|
|
eglTerminate(egl->display);
|
|
|
|
eglReleaseThread();
|
|
|
|
eglReleaseThread();
|
|
|
|
|
|
|
|
|
|
|
|
if (egl->gbm_device) {
|
|
|
|
|
|
|
|
gbm_device_destroy(egl->gbm_device);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
free(egl);
|
|
|
|
free(egl);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|