diff options
author | Emil Velikov <emil.velikov@collabora.com> | 2018-07-27 17:42:58 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2018-08-21 14:20:28 +0100 |
commit | b3908537c470861e3b914edfee8a9ae8f5ee83fd (patch) | |
tree | 0794fa5c80b9b9e2f31487c3039c38f0b6db9266 /tests | |
parent | e49d4479d6cabce970bb95820c1c23badfdbd572 (diff) |
egl_ext_device_query: drop unused major/minor from eglInitialize
The arguments are optional. Since we don't care about the version, use
NULL instead.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Mathias Fröhlich <mathias.froehlich@web.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/egl/spec/egl_ext_device_query/egl_ext_device_query.c | 3 |
1 files changed, 1 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 0a12b2a06..45abe9801 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 @@ -29,7 +29,6 @@ int main(void) { EGLDisplay dpy; - EGLint egl_major, egl_minor; EGLDeviceEXT device = EGL_NO_DEVICE_EXT; EGLAttrib attr; const char *devstring = NULL; @@ -72,7 +71,7 @@ main(void) if (!piglit_check_egl_error(EGL_NOT_INITIALIZED)) piglit_report_result(PIGLIT_FAIL); - if (!eglInitialize(dpy, &egl_major, &egl_minor)) { + if (!eglInitialize(dpy, NULL, NULL)) { printf("eglInitialize failed\n"); piglit_report_result(PIGLIT_FAIL); } |