Fix windows builds

This commit is contained in:
Lily Tsuru 2022-09-07 04:12:37 -05:00
parent e7be111557
commit ceeb4eddbe
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ namespace pixel {
// TODO: Handle STB errors // TODO: Handle STB errors
stbi_write_png(outputPath.c_str(), imagePtr->GetSize().width, imagePtr->GetSize().height, 4, imagePtr->GetBuffer(), static_cast<int>(imagePtr->GetStride())); stbi_write_png(outputPath.string().c_str(), imagePtr->GetSize().width, imagePtr->GetSize().height, 4, imagePtr->GetBuffer(), static_cast<int>(imagePtr->GetStride()));
} }
} // namespace pixel } // namespace pixel