1
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
2
Graphics / SFML 2 RenderWindow::capture
« on: July 27, 2012, 04:32:50 pm »
Hey everyone !
So ... I got this code :
and for some reason it won't save my image . Can you point me in the right direction please?
Note : I'm using SFML 2 amd Code::Blocks
So ... I got this code :
sf::Image Screenshot ;
Screenshot = Window.capture() ;
Screenshot.saveToFile ("screenshot.jpg") ;
Screenshot = Window.capture() ;
Screenshot.saveToFile ("screenshot.jpg") ;
and for some reason it won't save my image . Can you point me in the right direction please?
Note : I'm using SFML 2 amd Code::Blocks
Pages: [1]