[Piglit] [PATCH 3/3] egl: eglQueryDeviceStringEXT() takes an EGLDevice
James Jones
jajones at nvidia.com
Wed Sep 7 20:27:28 UTC 2016
The first parameter of eglQueryDeviceStringEXT()
is an EGLDevice, not an EGLDisplay.
Signed-off-by: James Jones <jajones at nvidia.com>
---
tests/egl/spec/egl_ext_device_query/egl_ext_device_query.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/egl/spec/egl_ext_device_query/egl_ext_device_query.c b/tests/egl/spec/egl_ext_device_query/egl_ext_device_query.c
index 950abbb..d6f171d 100644
--- a/tests/egl/spec/egl_ext_device_query/egl_ext_device_query.c
+++ b/tests/egl/spec/egl_ext_device_query/egl_ext_device_query.c
@@ -95,11 +95,11 @@ main(void)
if (!piglit_check_egl_error(EGL_BAD_ATTRIBUTE))
piglit_report_result(PIGLIT_FAIL);
- devstring = queryDeviceString(dpy, 0xbad1dea);
+ devstring = queryDeviceString(device, 0xbad1dea);
if (!piglit_check_egl_error(EGL_BAD_PARAMETER))
piglit_report_result(PIGLIT_FAIL);
- devstring = queryDeviceString(dpy, EGL_EXTENSIONS);
+ devstring = queryDeviceString(device, EGL_EXTENSIONS);
if (devstring == NULL) {
printf("Empty device extension string\n");
piglit_report_result(PIGLIT_WARN);
--
1.9.1
More information about the Piglit
mailing list