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

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikk...@gmail.com>
---
 tests/egl/egl-nok-texture-from-pixmap.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/egl/egl-nok-texture-from-pixmap.c 
b/tests/egl/egl-nok-texture-from-pixmap.c
index 9e10933..ef89d47 100644
--- a/tests/egl/egl-nok-texture-from-pixmap.c
+++ b/tests/egl/egl-nok-texture-from-pixmap.c
@@ -104,10 +104,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.extensions = extensions;
        test.draw = draw;
+       test.config_attribs = test_attribs;
 
        if (egl_util_run(&test, argc, argv) != PIGLIT_PASS)
                return EXIT_FAILURE;
-- 
1.8.5.1

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to