mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-22 10:29:47 +00:00
fix cyrillic in file path (Windows)
This commit is contained in:
parent
ee41e058a9
commit
f8101011a0
7 changed files with 61 additions and 17 deletions
|
|
@ -8,10 +8,13 @@
|
|||
|
||||
class Texture;
|
||||
class ImageData;
|
||||
namespace io {
|
||||
class path;
|
||||
}
|
||||
|
||||
namespace png {
|
||||
std::unique_ptr<ImageData> load_image(const ubyte* bytes, size_t size);
|
||||
void write_image(const std::string& filename, const ImageData* image);
|
||||
void write_image(const io::path& file, const ImageData* image);
|
||||
util::Buffer<ubyte> encode_image(const ImageData& image);
|
||||
std::unique_ptr<Texture> load_texture(const ubyte* bytes, size_t size);
|
||||
std::unique_ptr<Texture> load_texture(const std::string& filename);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue