Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Invalid RenderWindow.Capture() method  (Read 2821 times)

0 Members and 1 Guest are viewing this topic.

omeg

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
    • http://omeg.pl/
Invalid RenderWindow.Capture() method
« on: August 17, 2011, 01:26:28 am »
RenderWindow.Capture still exists in latest source and is bound to nonexistent export in csfml: sfRenderWindow_Capture. It should be removed since now the way to create screenshots is by Texture.Update().

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Invalid RenderWindow.Capture() method
« Reply #1 on: August 17, 2011, 07:45:49 am »
Texture.Update() is not the new way to take screenshots, RenderWindow.Capture is back and... it was incorrectly not exported from csfml-graphics.

I'm fixing this, thanks for your feedback.
Laurent Gomila - SFML developer

omeg

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
    • http://omeg.pl/
Invalid RenderWindow.Capture() method
« Reply #2 on: August 17, 2011, 11:16:26 am »
Nice, thanks. :)