Switch to new logging system

This commit is contained in:
jayden committed 2025-03-13 16:50:54 +10:00
1 parent 0d080e01b5
commit 69a5605a6f
3 files changed
+12 -10

No files matched your search

+5 -5
View File
@@ -1,12 +1,12 @@
/**
* Copyright (c) 2025, Jayden Grubb <[email protected]>
*
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <nova/core/debug.h>
#include <nova/render/renderer.h>
#include <cstdio>
#include <cstdlib>
using namespace Nova;
@@ -17,9 +17,9 @@ int main() {
const auto api = Renderer::get_driver()->get_api();
const auto version = Renderer::get_driver()->get_api_version();
printf("API: %d\n", static_cast<u32>(api));
printf("Version: %d\n", version);
Debug::log("API: {}", static_cast<u32>(api));
Debug::log("Version: {}", version);
Renderer::shutdown();
return EXIT_SUCCESS;
}
}