This commit is contained in:
Ben Kyd
2023-11-05 22:29:52 +00:00
parent 22d8b5e865
commit 711927d133

View File

@@ -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()