mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-11-17 01:25:59 +01:00
drm: fix minor oopsie
This commit is contained in:
parent
9096cd0e8e
commit
8ecf8773db
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ std::vector<SP<CDRMBackend>> Aquamarine::CDRMBackend::attempt(SP<CBackend> backe
|
|||
if (primary)
|
||||
drmBackend->primary = primary;
|
||||
|
||||
if (!drmBackend->registerGPU(gpus.at(0))) {
|
||||
if (!drmBackend->registerGPU(gpu)) {
|
||||
backend->log(AQ_LOG_ERROR, std::format("drm: Failed to register gpu {}", gpu->path));
|
||||
continue;
|
||||
} else
|
||||
|
|
Loading…
Reference in a new issue