From ceeb4eddbeab83d1de20bf67e1124ac78b3e1baa Mon Sep 17 00:00:00 2001 From: modeco80 Date: Wed, 7 Sep 2022 04:12:37 -0500 Subject: [PATCH] Fix windows builds --- src/ImageWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ImageWriter.cpp b/src/ImageWriter.cpp index 31a393c..fabc317 100644 --- a/src/ImageWriter.cpp +++ b/src/ImageWriter.cpp @@ -23,7 +23,7 @@ namespace pixel { // TODO: Handle STB errors - stbi_write_png(outputPath.c_str(), imagePtr->GetSize().width, imagePtr->GetSize().height, 4, imagePtr->GetBuffer(), static_cast(imagePtr->GetStride())); + stbi_write_png(outputPath.string().c_str(), imagePtr->GetSize().width, imagePtr->GetSize().height, 4, imagePtr->GetBuffer(), static_cast(imagePtr->GetStride())); } } // namespace pixel