diff options
author | Stefan Schmidt <s.schmidt@samsung.com> | 2014-06-27 11:03:55 +0200 |
---|---|---|
committer | Stefan Schmidt <s.schmidt@samsung.com> | 2014-06-30 10:13:42 +0200 |
commit | 4c0f9da2b9bf9c36c5e33c2cb9683c4fd700a0c0 (patch) | |
tree | 05af5bf416cf26f6079ffc0c2237cd980aa92f09 | |
parent | 3d36d65dd8efa28e78a1a78d49fa36abc25ab415 (diff) | |
download | efl-4c0f9da2b9bf9c36c5e33c2cb9683c4fd700a0c0.tar.gz |
ecore_drm: Iterate over all available connectors not just the first
Maybe this was here for some debugging? It does not make any sense though
to loop over all connectors but break out of the loop after the first run.
-rw-r--r-- | src/lib/ecore_drm/ecore_drm_output.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_output.c b/src/lib/ecore_drm/ecore_drm_output.c index 82cb51e9f9..b4abdd6475 100644 --- a/src/lib/ecore_drm/ecore_drm_output.c +++ b/src/lib/ecore_drm/ecore_drm_output.c @@ -486,7 +486,6 @@ ecore_drm_outputs_create(Ecore_Drm_Device *dev) for (i = 0; i < res->count_connectors; i++) { - if (i > 0) break; /* get the connector */ if (!(conn = drmModeGetConnector(dev->drm.fd, res->connectors[i]))) continue; |