diff options
Diffstat (limited to 'demos/Graphics/SvgPath.cpp')
-rw-r--r-- | demos/Graphics/SvgPath.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/Graphics/SvgPath.cpp b/demos/Graphics/SvgPath.cpp index 44524d77..332456a8 100644 --- a/demos/Graphics/SvgPath.cpp +++ b/demos/Graphics/SvgPath.cpp @@ -31,7 +31,7 @@ M6.5 0a.5.5 0 0 0 0 1H7v1.07a7.001 7.001 0 0 0-3.273 12.474l-.602.602a.5.5 0 0 0 painter->FillGeometry(geometry.get(), brush.get()); painter->EndDraw(); - cru::io::CFileStream file_stream("./svg-path-demo.png", "w"); + cru::io::CFileStream file_stream("./svg-path-demo.png", "wb"); graphics_factory->GetImageFactory()->EncodeToStream( image.get(), &file_stream, cru::platform::graphics::ImageFormat::Png, |