rename 'files' to 'io'

This commit is contained in:
MihailRis
2025-01-30 16:53:52 +03:00
parent e5d558d357
commit 1e22882284
45 changed files with 157 additions and 160 deletions
+2 -2
View File
@@ -6,7 +6,7 @@
#include <iostream>
#include "debug/Logger.hpp"
#include "files/files.hpp"
#include "io/io.hpp"
#include "graphics/core/GLTexture.hpp"
#include "graphics/core/ImageData.hpp"
@@ -212,7 +212,7 @@ std::unique_ptr<Texture> png::load_texture(const ubyte* bytes, size_t size) {
}
std::unique_ptr<Texture> png::load_texture(const std::string& filename) {
auto bytes = files::read_bytes_buffer(fs::u8path(filename));
auto bytes = io::read_bytes_buffer(fs::u8path(filename));
try {
return load_texture(bytes.data(), bytes.size());
} catch (const std::runtime_error& err) {