Mesa (master): egl: Fix error string returned by eglQueryDeviceAttribEXT
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jan 27 21:18:40 UTC 2021
Module: Mesa
Branch: master
Commit: 2a73a2a679f82ddde43e3e35d254b8c3801fd478
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2a73a2a679f82ddde43e3e35d254b8c3801fd478
Author: Adam Jackson <ajax at redhat.com>
Date: Tue Jan 26 11:14:18 2021 -0500
egl: Fix error string returned by eglQueryDeviceAttribEXT
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8725>
---
src/egl/main/egldevice.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/egl/main/egldevice.c b/src/egl/main/egldevice.c
index 68ca4d2cf35..4aa1a77d601 100644
--- a/src/egl/main/egldevice.c
+++ b/src/egl/main/egldevice.c
@@ -225,7 +225,7 @@ _eglQueryDeviceAttribEXT(_EGLDevice *dev, EGLint attribute,
{
switch (attribute) {
default:
- _eglError(EGL_BAD_ATTRIBUTE, "eglQueryDeviceStringEXT");
+ _eglError(EGL_BAD_ATTRIBUTE, "eglQueryDeviceAttribEXT");
return EGL_FALSE;
}
}
More information about the mesa-commit
mailing list