Piglit egl-util nowadays require gles to be declared in
test attributes, otherwise we'll get gl.

Signed-off-by: Juha-Pekka Heikkila <[email protected]>
---
 tests/egl/egl-create-pbuffer-surface.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/egl/egl-create-pbuffer-surface.c 
b/tests/egl/egl-create-pbuffer-surface.c
index 60c4e59..6cb3d70 100644
--- a/tests/egl/egl-create-pbuffer-surface.c
+++ b/tests/egl/egl-create-pbuffer-surface.c
@@ -86,10 +86,16 @@ int
 main(int argc, char *argv[])
 {
    struct egl_test test;
+   const EGLint test_attribs[] =
+   {
+      EGL_RENDERABLE_TYPE, EGL_OPENGL_ES_BIT,
+      EGL_NONE
+   };
 
    egl_init_test(&test);
    test.draw = draw;
    test.stop_on_failure = true;
+   test.config_attribs = test_attribs;
 
    if (egl_util_run(&test, argc, argv) != PIGLIT_PASS)
       return EXIT_FAILURE;
-- 
1.8.5.1

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to