[Mesa-dev] [PATCH 5/5] egl: add note about missing $plat_teardown

Emil Velikov emil.l.velikov at gmail.com
Mon Nov 13 14:06:14 UTC 2017


From: Emil Velikov <emil.velikov at collabora.com>

Some platforms are missing a proper teardown function. Add a small TODO
to make it obvious.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 src/egl/drivers/dri2/egl_dri2.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
index 28a3591ed49..c362206a431 100644
--- a/src/egl/drivers/dri2/egl_dri2.c
+++ b/src/egl/drivers/dri2/egl_dri2.c
@@ -998,6 +998,7 @@ dri2_display_destroy(_EGLDisplay *disp)
       dri2_teardown_wayland(disp);
       break;
    default:
+      /* TODO: add teardown for other platforms */
       break;
    }
 
-- 
2.15.0



More information about the mesa-dev mailing list