summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJuha-Pekka Heikkila <juhapekka.heikkila@gmail.com>2014-10-27 14:17:07 +0200
committerTapani Pälli <tapani.palli@intel.com>2014-11-03 13:11:26 +0200
commit20e0c85e9dba48f96b1ea2f97bff24898f37bb72 (patch)
tree35d7105805ba795b38fd0ad59c737616f25935ff /tests
parentb0793a63e87def85c54ac351ea63f5782a2db360 (diff)
Fix egl-nok-texture-from-pixmap
Piglit egl-util nowadays require gles to be declared in test attributes, otherwise we'll get gl. Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/egl/egl-nok-texture-from-pixmap.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/egl/egl-nok-texture-from-pixmap.c b/tests/egl/egl-nok-texture-from-pixmap.c
index 9e109338e..ef89d478e 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;