Hello
I have a RenderWindow that for now contains only OpenGL rendered graphics. But when I use the screenshot code in the tutorial:
sf::Image Screen = App.Capture();
Screen.SaveToFile("screenshot.jpg");
all I get is a black image. Is Capture() supposed to capture OpenGL graphics? And If I write text using RenderWindow::Draw(), it does not appear in the screenshot either.
Btw, is it possible to save as PNG? I couldn't find anything in the Image class to set the image format.
Debian Sid, SFML1.3
Best regards,
Torquil Sørensen