Atomic modesetting

This commit is contained in:
Scott Anderson 2017-08-09 20:43:01 +12:00 committed by Drew DeVault
parent 913829e381
commit af67966d92
11 changed files with 350 additions and 72 deletions

View file

@ -162,6 +162,7 @@ error:
}
void wlr_egl_free(struct wlr_egl *egl) {
eglMakeCurrent(egl->display, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
eglDestroyContext(egl->display, egl->context);
eglTerminate(egl->display);
eglReleaseThread();