mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
Windows build fix
This commit is contained in:
parent
d349b4b65a
commit
8310b1b768
9 changed files with 33 additions and 27 deletions
|
|
@ -77,7 +77,7 @@ void Engine::updateHotkeys() {
|
|||
unique_ptr<ImageData> image(Window::takeScreenshot());
|
||||
image->flipY();
|
||||
path filename = enginefs::get_screenshot_file("png");
|
||||
png::write_image(filename, image.get());
|
||||
png::write_image(filename.string(), image.get());
|
||||
std::cout << "saved screenshot as " << filename << std::endl;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue