mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-06-18 00:27:02 +08:00
refactor: merge memory_used.hpp and system_version.hpp into system_info.hpp
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include <Cubed/debug_collector.hpp>
|
||||
|
||||
#include <Cubed/tools/system_version.hpp>
|
||||
#include <Cubed/tools/system_info.hpp>
|
||||
#include <Cubed/tools/cubed_hash.hpp>
|
||||
|
||||
DebugCollector::DebugCollector() {
|
||||
@@ -44,7 +44,7 @@ void DebugCollector::init_text() {
|
||||
os_text
|
||||
.scale(0.8f)
|
||||
.position(0.0f, 250.0f);
|
||||
if (get_os_version(os)) {
|
||||
if (Tools::get_os_version(os)) {
|
||||
os_text
|
||||
.text("OS: " + os);
|
||||
Logger::info("System: {}", os);
|
||||
|
||||
Reference in New Issue
Block a user