Skip to content

Commit

Permalink
Merge pull request #269 from antkir/master
Browse files Browse the repository at this point in the history
direct: Fix drm index loop condition
  • Loading branch information
elFarto authored Jan 27, 2024
2 parents f977766 + 7d5f4f2 commit 42f563e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/direct/direct-export-buf.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ static bool direct_initExporter(NVDriver *drv) {
continue;
}
break;
} while (drmIdx < 16);
} while (drmIdx < 128 + 16);

drv->drmFd = fd;
LOG("Found NVIDIA GPU %d at %s", nvdGpu, node);
Expand Down

0 comments on commit 42f563e

Please sign in to comment.