From 8ecf8773db084916d9baa5e06acfda6d8591214c Mon Sep 17 00:00:00 2001 From: Vaxry Date: Fri, 28 Jun 2024 18:33:16 +0200 Subject: [PATCH] drm: fix minor oopsie --- src/backend/drm/DRM.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/drm/DRM.cpp b/src/backend/drm/DRM.cpp index 45169f1..02458e1 100644 --- a/src/backend/drm/DRM.cpp +++ b/src/backend/drm/DRM.cpp @@ -200,7 +200,7 @@ std::vector> Aquamarine::CDRMBackend::attempt(SP 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