From 711927d13347b93af3e015de2b60d1b66eaa8c7d Mon Sep 17 00:00:00 2001 From: Ben Kyd Date: Sun, 5 Nov 2023 22:29:52 +0000 Subject: [PATCH] lol --- src/window.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/window.cpp b/src/window.cpp index 3b91b0f..7a0ed0f 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -128,7 +128,8 @@ void setupGLFW(std::string title) QueueFamilyIndices indices = window_get_queue_families(device); bool extensions = checkDevExtensions(); - return indices.isComplete() && extensions && features; + yolo::debug("Device {} is {}suitable", deviceProperties.deviceName, (features && extensions) ? "" : "not "); + return extensions && features; }; if (isDeviceSuitable()) { @@ -229,7 +230,6 @@ void setupGLFW(std::string title) return availableFormats[0]; }; - } void setupImGui()