mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-12-22 17:09:48 +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)
|
if (primary)
|
||||||
drmBackend->primary = 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));
|
backend->log(AQ_LOG_ERROR, std::format("drm: Failed to register gpu {}", gpu->path));
|
||||||
continue;
|
continue;
|
||||||
} else
|
} else
|
||||||
|
|
Loading…
Reference in a new issue