comparison Applications/Samples/Sdl/RtViewer/RtViewerSdl.cpp @ 1629:7fc8a3ff09ee

fix build
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 09 Nov 2020 15:14:37 +0100
parents 4c9e68291467
children 52b8b96cb55f
comparison
equal deleted inserted replaced
1628:555870323ebc 1629:7fc8a3ff09ee
227 227
228 Orthanc::Image png(Orthanc::PixelFormat_RGB24, canvas.GetWidth(), canvas.GetHeight(), false); 228 Orthanc::Image png(Orthanc::PixelFormat_RGB24, canvas.GetWidth(), canvas.GetHeight(), false);
229 Orthanc::ImageProcessing::Convert(png, canvas); 229 Orthanc::ImageProcessing::Convert(png, canvas);
230 230
231 Orthanc::PngWriter writer; 231 Orthanc::PngWriter writer;
232 writer.WriteToFile(target, png); 232 Orthanc::IImageWriter::WriteToFile(writer, target, png);
233 } 233 }
234 234
235 static boost::shared_ptr<OrthancStone::RtViewerView> GetViewFromWindowId( 235 static boost::shared_ptr<OrthancStone::RtViewerView> GetViewFromWindowId(
236 const std::vector<boost::shared_ptr<OrthancStone::RtViewerView> >& views, 236 const std::vector<boost::shared_ptr<OrthancStone::RtViewerView> >& views,
237 Uint32 windowID) 237 Uint32 windowID)