Reviewed bug on FindNearestConnectorMode()
This commit is contained in:
parent
4815065c47
commit
4f2bfc5476
1 changed files with 1 additions and 1 deletions
|
@ -6580,7 +6580,7 @@ static int FindNearestConnectorMode(const drmModeConnector *connector, uint widt
|
|||
TRACELOG(LOG_TRACE, "DISPLAY: DRM mode: %d %ux%u@%u %s", i, mode->hdisplay, mode->vdisplay, mode->vrefresh,
|
||||
(mode->flags & DRM_MODE_FLAG_INTERLACE) ? "interlaced" : "progressive");
|
||||
|
||||
if ((mode->hdisplay < width) || (mode->vdisplay < height) | (mode->vrefresh < fps))
|
||||
if ((mode->hdisplay < width) || (mode->vdisplay < height) || (mode->vrefresh < fps))
|
||||
{
|
||||
TRACELOG(LOG_TRACE, "DISPLAY: DRM mode is too small");
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue