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
0e7a833fc3
commit
c7c7ab66bc
|
@ -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