Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
nobuyuki83 committed Apr 15, 2024
1 parent 9de4c2f commit 8173d67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion task01/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,6 @@ int main() {
dda_line(50.0, 50.0, 50.0, 10.0, img_data, width, 0); // down
// save gray scale image with 1 byte depth
stbi_write_png(
(std::filesystem::path(PROJECT_SOURCE_DIR) / "output.png").c_str(),
(std::filesystem::path(PROJECT_SOURCE_DIR) / "output.png").string().c_str(),
width, height, 1,img_data.data(), width);
}

0 comments on commit 8173d67

Please sign in to comment.