diff options
author | Yi Sun <yi.sun@intel.com> | 2013-01-13 10:10:24 +0800 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-01-14 15:31:52 +0100 |
commit | cdd352df95b8dfd6a6bab7014be2a15526643721 (patch) | |
tree | 44b66dfcb844b1ce20b1ec428fd615c49f54b7d1 | |
parent | c612481a196f642ae6a3a67631d7a312e506e1b4 (diff) |
tests/testdisplay.c: Fix the issue which don't display anything until '-o' given.
Signed-off-by: Yi Sun <yi.sun@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r-- | tests/testdisplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testdisplay.c b/tests/testdisplay.c index 7aef940..f2711ae 100644 --- a/tests/testdisplay.c +++ b/tests/testdisplay.c @@ -598,7 +598,7 @@ int update_display(void) /* Find any connected displays */ for (c = 0; c < resources->count_connectors; c++) { connectors[c].id = resources->connectors[c]; - if ( connectors[c].id != specified_disp_id ) + if ( only_one_mode == 1 && connectors[c].id != specified_disp_id ) continue; set_mode(&connectors[c]); |