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.
This commit is contained in:
Stefan Schmidt 2014-06-27 11:03:55 +02:00
parent 3d36d65dd8
commit 4c0f9da2b9
1 changed files with 0 additions and 1 deletions

View File

@ -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;