egl: rewrite outdated comment in _eglFindDevice()

_eglAddDevice() has been renamed to _eglFindDevice(). But the comment
describing what this function does is outdated. Rewrite this comment.

Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
Reviewed-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Simon Ser <contact@emersion.fr>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25504>
This commit is contained in:
Leandro Ribeiro 2023-08-07 23:07:57 -03:00 committed by Marge Bot
parent a4f7f9975a
commit 7de445e69a

View file

@ -158,7 +158,7 @@ _eglAddDRMDevice(drmDevicePtr device, _EGLDevice **out_dev)
}
#endif
/* Adds a device in DeviceList, if needed for the given fd.
/* Finds a device in DeviceList, for the given fd.
*
* If a software device, the fd is ignored.
*/