From: Leandro Ribeiro Date: Tue, 8 Aug 2023 02:07:57 +0000 (-0300) Subject: egl: rewrite outdated comment in _eglFindDevice() X-Git-Tag: upstream/23.3.3~1303 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7de445e69a07a221ad7104363d79c5638a16acfe;p=platform%2Fupstream%2Fmesa.git 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 Reviewed-by: Eric Engestrom Reviewed-by: Erik Faye-Lund Reviewed-by: Simon Ser Part-of: --- diff --git a/src/egl/main/egldevice.c b/src/egl/main/egldevice.c index 4ec7756..b8fac58 100644 --- a/src/egl/main/egldevice.c +++ b/src/egl/main/egldevice.c @@ -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. */