egl: rewrite outdated comment in _eglFindDevice()
authorLeandro Ribeiro <leandro.ribeiro@collabora.com>
Tue, 8 Aug 2023 02:07:57 +0000 (23:07 -0300)
committerMarge Bot <emma+marge@anholt.net>
Wed, 4 Oct 2023 17:01:41 +0000 (17:01 +0000)
_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>

src/egl/main/egldevice.c

index 4ec7756..b8fac58 100644 (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.
  */