From: Emil Velikov <[email protected]>

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

Signed-off-by: Emil Velikov <[email protected]>
---
 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

_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to