Message ID | 1495062017-6955-2-git-send-email-daniel.diaz@linaro.org |
---|---|
State | Accepted |
Commit | 45095dc08b587e2539b513cdb0aafd594b5a20f4 |
Headers | show |
Series | [1/3] util/egl: Honour Surfaceless MESA in get_default_display | expand |
diff --git a/tests/egl/spec/egl_mesa_platform_surfaceless/egl_mesa_platform_surfaceless.c b/tests/egl/spec/egl_mesa_platform_surfaceless/egl_mesa_platform_surfaceless.c index 3bbd6aa..81a3919 100644 --- a/tests/egl/spec/egl_mesa_platform_surfaceless/egl_mesa_platform_surfaceless.c +++ b/tests/egl/spec/egl_mesa_platform_surfaceless/egl_mesa_platform_surfaceless.c @@ -31,7 +31,7 @@ test_setup(EGLDisplay *dpy) piglit_require_egl_extension(EGL_NO_DISPLAY, "EGL_MESA_platform_surfaceless"); - *dpy = eglGetPlatformDisplay(EGL_PLATFORM_SURFACELESS_MESA, NULL, NULL); + *dpy = piglit_egl_get_default_display(EGL_PLATFORM_SURFACELESS_MESA); if (*dpy == EGL_NO_DISPLAY) { printf("failed to get EGLDisplay\n"); piglit_report_result(PIGLIT_SKIP);
Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org> --- .../spec/egl_mesa_platform_surfaceless/egl_mesa_platform_surfaceless.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)