diff options
author | Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> | 2014-10-27 14:17:06 +0200 |
---|---|---|
committer | Tapani Pälli <tapani.palli@intel.com> | 2014-11-03 13:11:03 +0200 |
commit | b0793a63e87def85c54ac351ea63f5782a2db360 (patch) | |
tree | 056827dd2422ba6a17e95db983f76e82ca9c3bb6 | |
parent | e4b36241288c81d2dfcab85a2c6533948807029f (diff) |
Fix egl-create-pbuffer-surface test
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>
-rw-r--r-- | tests/egl/egl-create-pbuffer-surface.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/egl/egl-create-pbuffer-surface.c b/tests/egl/egl-create-pbuffer-surface.c index 60c4e59d6..6cb3d7027 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; |