Skip to content

Commit

Permalink
drm: fix epic string parsing fail
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Jul 7, 2024
1 parent a473c53 commit dc1181a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/drm/DRM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ static std::vector<SP<CSessionDevice>> scanGPUs(SP<CBackend> backend) {
auto explicitGpus = getenv("AQ_DRM_DEVICES");
if (explicitGpus) {
backend->log(AQ_LOG_DEBUG, std::format("drm: Explicit device list {}", explicitGpus));
Hyprutils::String::CVarList explicitDevices(explicitGpus, ':', true);
Hyprutils::String::CVarList explicitDevices(explicitGpus, 0, ':', true);

for (auto& d : explicitDevices) {
bool found = false;
Expand Down

0 comments on commit dc1181a

Please sign in to comment.