[Piglit] [PATCH] ext_image_dma_buf_import/sample_rgb: Make sure the window has alpha.

Eric Anholt eric at anholt.net
Mon Apr 18 18:40:56 UTC 2016


Fixes test result in non-auto-fbo mode on Intel, where you end up
without an alpha channel if you forget to ask for one.
---
 tests/spec/ext_image_dma_buf_import/sample_rgb.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/spec/ext_image_dma_buf_import/sample_rgb.c b/tests/spec/ext_image_dma_buf_import/sample_rgb.c
index f279730b6db9..e6df06b64354 100644
--- a/tests/spec/ext_image_dma_buf_import/sample_rgb.c
+++ b/tests/spec/ext_image_dma_buf_import/sample_rgb.c
@@ -35,6 +35,7 @@
 PIGLIT_GL_TEST_CONFIG_BEGIN
 
 	config.supports_gl_es_version = 20;
+	config.window_visual = PIGLIT_GL_VISUAL_RGBA;
 
 PIGLIT_GL_TEST_CONFIG_END
 
-- 
2.8.0.rc3



More information about the Piglit mailing list