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

Author Topic: Image::CopyScreen  (Read 2285 times)

0 Members and 3 Guests are viewing this topic.

wizardofoz

  • Newbie
  • *
  • Posts: 18
    • View Profile
Image::CopyScreen
« on: November 22, 2008, 03:57:21 pm »
Hi all, I would like to know if there is some particular reason for the function Image::CopyScreen to use a RenderWindow pointer instead of a more generic RenderTarget.

I'm asking that because PostFX uses CopyScreen and this limits the use of PostFX to RenderWindow (I cannot use PostFX with my RenderImage class  :wink: ).

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Image::CopyScreen
« Reply #1 on: November 22, 2008, 06:45:46 pm »
It wouldn't make sense, as RenderImage is already an image.

Anyway, PostFx is going to change soon ;)
Laurent Gomila - SFML developer

wizardofoz

  • Newbie
  • *
  • Posts: 18
    • View Profile
Image::CopyScreen
« Reply #2 on: November 23, 2008, 10:57:22 pm »
Quote
It wouldn't make sense, as RenderImage is already an image.


Yes you are right, thanks. I'll wait the update to PostFX  :)