This commit is contained in:
@@ -23,14 +23,14 @@ int main() {
|
||||
|
||||
OatmealUtils::getLogger("context")->info("Creating context");
|
||||
try {
|
||||
ctx = std::make_shared<Oatmeal::ctx>(window);
|
||||
ctx = std::make_shared<Oatmeal::ctx>(window, Oatmeal::CtxCfg{.backend = Oatmeal::BACKEND_VULKAN});
|
||||
} catch (const std::exception &e) {
|
||||
OatmealUtils::getLogger("context")->critical("{}", e.what());
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
OatmealUtils::getLogger("context")->info("Device name: {}", ctx->getDeviceName());
|
||||
OatmealUtils::getLogger("context")->info("Device Type: {}", ctx->getDeviceType());
|
||||
// OatmealUtils::getLogger("context")->info("Device name: {}", ctx->getDeviceName());
|
||||
// OatmealUtils::getLogger("context")->info("Device Type: {}", ctx->getDeviceType());
|
||||
|
||||
OatmealUtils::getLogger("context")->info("Starting main loop");
|
||||
while (!glfwWindowShouldClose(window)) {
|
||||
|
||||
Reference in New Issue
Block a user