forked from enlightenment/efl
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:
parent
3d36d65dd8
commit
4c0f9da2b9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue