summaryrefslogtreecommitdiff
path: root/tests/shaders/vp-address-06.c
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2015-05-09 02:31:16 -0400
committerIlia Mirkin <imirkin@alum.mit.edu>2015-05-12 16:41:14 -0400
commitd4904692a62c73a0fbeb2aa509cb5b36a53df907 (patch)
treef843b98cba1587dbb1b6aa57b5bf557d13da39e3 /tests/shaders/vp-address-06.c
parent36a327527add5a33572d04bc4a0235b69ae6b536 (diff)
request RGB visual, fixes gbm rendering
GBM presumably defaults to RGB565 otherwise. Not all of these are required, as some would still work with less precision, but this makes the tests consistent. At least fp-formats and user-clip were failing previously. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Chad Versace <chad.versace@intel.com>
Diffstat (limited to 'tests/shaders/vp-address-06.c')
-rw-r--r--tests/shaders/vp-address-06.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shaders/vp-address-06.c b/tests/shaders/vp-address-06.c
index ba0a347ab..23c5ea986 100644
--- a/tests/shaders/vp-address-06.c
+++ b/tests/shaders/vp-address-06.c
@@ -40,7 +40,7 @@ PIGLIT_GL_TEST_CONFIG_BEGIN
config.window_width = (((BOX_SIZE+1)*TEST_COLS)+1);
config.window_height = (((BOX_SIZE+1)*TEST_ROWS)+1);
- config.window_visual = PIGLIT_GL_VISUAL_DOUBLE;
+ config.window_visual = PIGLIT_GL_VISUAL_RGB | PIGLIT_GL_VISUAL_DOUBLE;
PIGLIT_GL_TEST_CONFIG_END