mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
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 <rfoss@kernel.org> Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23742>
This commit is contained in:
parent
0e0adec81e
commit
e0c97148de
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue