Skip to content
Snippets Groups Projects
Verified Commit 74a935a9 authored by Tobias Frisch's avatar Tobias Frisch
Browse files

[#79] Fix for Windows filesystem path object

parent 49047a5e
No related branches found
No related tags found
1 merge request!69Resolve "Rework Asset Loader API"
Pipeline #26458 passed
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
#include <cstdint> #include <cstdint>
#include <filesystem> #include <filesystem>
/* LOADING MESHES /* LOADING MESHES
* The description of meshes is a hierarchy of structures with the Mesh at the * The description of meshes is a hierarchy of structures with the Mesh at the
* top. * top.
......
...@@ -618,7 +618,7 @@ namespace vkcv::asset { ...@@ -618,7 +618,7 @@ namespace vkcv::asset {
); );
} else { } else {
data = stbi_load( data = stbi_load(
texture.path.c_str(), texture.path.string().c_str(),
&texture.width, &texture.width,
&texture.height, &texture.height,
&texture.channels, 4 &texture.channels, 4
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment