egl: ensure future platforms get their teardown implemented
surfaceless & device platforms don't need anything special here. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29459>
This commit is contained in:

committed by
Marge Bot

parent
20cae414ed
commit
0c58e8b893
@@ -1177,8 +1177,12 @@ dri2_display_destroy(_EGLDisplay *disp)
|
|||||||
u_gralloc_destroy(&dri2_dpy->gralloc);
|
u_gralloc_destroy(&dri2_dpy->gralloc);
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
case _EGL_PLATFORM_SURFACELESS:
|
||||||
|
break;
|
||||||
|
case _EGL_PLATFORM_DEVICE:
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
/* TODO: add teardown for other platforms */
|
unreachable("Platform teardown is not properly hooked.");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user