From e0c97148de8c68c1461089c08a07e82f12e54210 Mon Sep 17 00:00:00 2001 From: Robert Foss Date: Mon, 19 Jun 2023 14:15:04 +0200 Subject: [PATCH] egl: Rename _eglRefreshDeviceList() to _eglDeviceRefreshList() Rename this function to better reflect it's location and what structs it relates to. Signed-off-by: Robert Foss Reviewed-by: Adam Jackson Part-of: --- src/egl/main/egldevice.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/egl/main/egldevice.c b/src/egl/main/egldevice.c index 897610eb4ee..ab96a8d094a 100644 --- a/src/egl/main/egldevice.c +++ b/src/egl/main/egldevice.c @@ -285,7 +285,7 @@ _eglQueryDeviceStringEXT(_EGLDevice *dev, EGLint name) * Must be called with the global lock held. */ static int -_eglRefreshDeviceList(void) +_eglDeviceRefreshList(void) { ASSERTED _EGLDevice *dev; int count = 0; @@ -334,7 +334,7 @@ _eglQueryDevicesEXT(EGLint max_devices, _EGLDevice **devices, simple_mtx_lock(_eglGlobal.Mutex); - num_devs = _eglRefreshDeviceList(); + num_devs = _eglDeviceRefreshList(); devs = _eglGlobal.DeviceList; #ifdef GALLIUM_SOFTPIPE