forked from enlightenment/efl
evas - gl_drm - delete old surfaces before creating new ones
we shouldnt go have multiple drm window surfaces per drm surface... this is bad. @fix
This commit is contained in:
parent
2c0ea5b5e3
commit
8e67e9d18e
|
@ -279,6 +279,8 @@ _evas_outbuf_egl_setup(Outbuf *ob)
|
|||
}
|
||||
}
|
||||
|
||||
if (ob->egl.surface != EGL_NO_SURFACE)
|
||||
eglDestroySurface(ob->egl.disp, ob->egl.surface);
|
||||
ob->egl.surface = EGL_NO_SURFACE;
|
||||
#ifdef EGL_MESA_platform_gbm
|
||||
if (dlsym_eglCreatePlatformWindowSurfaceEXT)
|
||||
|
|
Loading…
Reference in New Issue