Surface View - problem with saving


image

Hello,

I have a problem - an error appears when I want to save the photo to a file. Anyone know the solution?