Skip to content

Commit

Permalink
ci fix for win
Browse files Browse the repository at this point in the history
  • Loading branch information
nobuyuki83 committed May 7, 2024
1 parent 64c9e69 commit e83c559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion task03/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ int main() {
{ // read texture image
int bitdepth0;
const auto input_tex_path = std::filesystem::path(PROJECT_SOURCE_DIR) / ".." / "asset" / "uv.png";
unsigned char *ptr = stbi_load(input_tex_path.c_str(), &width_tex, &height_tex, &bitdepth0, 0);
unsigned char *ptr = stbi_load(input_tex_path.string().c_str(), &width_tex, &height_tex, &bitdepth0, 0);
img_data_tex = std::vector<unsigned char>(ptr, ptr + width_tex * height_tex * bitdepth0);
free(ptr);
}
Expand Down

0 comments on commit e83c559

Please sign in to comment.